From c3f21a7b0dc8161ce6f7cf9b62f8862490599de6 Mon Sep 17 00:00:00 2001 From: 9seconds Date: Thu, 1 Nov 2018 18:07:14 +0300 Subject: [PATCH] Log configuration on proxy start This has to simplify the debugging because usually we do not know all options which user used to start mtg. --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 3a12956..37d5ff5 100644 --- a/main.go +++ b/main.go @@ -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")