Correct printable configuration

This commit is contained in:
9seconds
2019-09-13 10:15:00 +03:00
parent 029245cd16
commit 386522ba22
2 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ func Proxy() error {
if err := config.InitPublicAddress(ctx); err != nil {
Fatal(err)
}
zap.S().Debugw("Configuration", "config", config.C)
zap.S().Debugw("Configuration", "config", config.C.Printable())
if len(config.C.AdTag) > 0 {
zap.S().Infow("Use middle proxy connection to Telegram")