diff options
Diffstat (limited to 'internal/tlog/log.go')
-rw-r--r-- | internal/tlog/log.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/tlog/log.go b/internal/tlog/log.go index 9ebe535..0eee704 100644 --- a/internal/tlog/log.go +++ b/internal/tlog/log.go @@ -142,6 +142,9 @@ func (l *toggledLogger) SwitchToSyslog(p syslog.Priority) { Warn.Printf("SwitchToSyslog: %v", err) } else { l.Logger.SetOutput(w) + // Disable colors + l.prefix = "" + l.postfix = "" } } |