aboutsummaryrefslogtreecommitdiffstats
path: root/log/syslog.go
diff options
context:
space:
mode:
Diffstat (limited to 'log/syslog.go')
-rw-r--r--log/syslog.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/log/syslog.go b/log/syslog.go
index 4f1097ff9..71a17b30b 100644
--- a/log/syslog.go
+++ b/log/syslog.go
@@ -38,6 +38,8 @@ func sharedSyslog(fmtr Format, sysWr *syslog.Writer, err error) (Handler, error)
syslogFn = sysWr.Info
case LvlDebug:
syslogFn = sysWr.Debug
+ case LvlTrace:
+ syslogFn = func(m string) error { return nil } // There's no syslog level for trace
}
s := strings.TrimSpace(string(fmtr.Format(r)))