mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 16:01:55 +03:00
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.
This commit is contained in:
@@ -183,6 +183,7 @@ func main() { // nolint: gocyclo
|
|||||||
defer logger.Sync() // nolint: errcheck
|
defer logger.Sync() // nolint: errcheck
|
||||||
|
|
||||||
printURLs(conf.GetURLs())
|
printURLs(conf.GetURLs())
|
||||||
|
zap.S().Debugw("Configuration", "config", conf)
|
||||||
|
|
||||||
if conf.UseMiddleProxy() {
|
if conf.UseMiddleProxy() {
|
||||||
zap.S().Infow("Use middle proxy connection to Telegram")
|
zap.S().Infow("Use middle proxy connection to Telegram")
|
||||||
|
|||||||
Reference in New Issue
Block a user