diff --git a/lego/sys/log/formatter_console.go b/lego/sys/log/formatter_console.go index bdf06cba5..259ac1829 100644 --- a/lego/sys/log/formatter_console.go +++ b/lego/sys/log/formatter_console.go @@ -63,6 +63,9 @@ func (this *ConsoleFormatter) Format(config *EncoderConfig, entry *Entry) (*pool line.AppendString(entry.Message) } for _, v := range entry.Data { + if v.Key == "" { + continue + } if !isfirst { line.AppendString(config.ConsoleSeparator) }