aboutsummaryrefslogtreecommitdiff
path: root/internal/tlog/log_go1.5.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/tlog/log_go1.5.go')
-rw-r--r--internal/tlog/log_go1.5.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/tlog/log_go1.5.go b/internal/tlog/log_go1.5.go
index 40ec656..9c152d9 100644
--- a/internal/tlog/log_go1.5.go
+++ b/internal/tlog/log_go1.5.go
@@ -24,6 +24,9 @@ func SwitchLoggerToSyslog(p syslog.Priority) {
if err != nil {
Warn.Printf("SwitchLoggerToSyslog: %v", err)
} else {
+ log.SetPrefix("go-fuse: ")
+ // Disable printing the timestamp, syslog already provides that
+ log.SetFlags(0)
log.SetOutput(w)
}
}