1
0
mirror of https://github.com/umputun/reproxy.git synced 2025-11-29 22:08:14 +02:00

feat: lower certmagic's logs to warn level

This commit is contained in:
Yelshat Duskaliyev
2024-09-17 11:42:39 +05:00
committed by Yelshat Duskaliyev
parent 72c8292d5f
commit 080fc12c7c

View File

@@ -99,7 +99,7 @@ func (h *Http) makeAutocertManager() AutocertManager {
EncodeDuration: zapcore.StringDurationEncoder,
}),
nopSyncer{Writer: log.ToWriter(log.Default(), "[WARN][certmagic]")},
zap.DebugLevel,
zap.WarnLevel,
))
// certmagic requires to make a configuration template in order to keep up