Merge pull request #52 from 9seconds/log-config

Log configuration on proxy start
This commit is contained in:
Sergey Arkhipov
2018-11-01 18:25:25 +03:00
committed by GitHub
+1
View File
@@ -183,6 +183,7 @@ func main() { // nolint: gocyclo
defer logger.Sync() // nolint: errcheck
printURLs(conf.GetURLs())
zap.S().Debugw("Configuration", "config", conf)
if conf.UseMiddleProxy() {
zap.S().Infow("Use middle proxy connection to Telegram")