summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/loggers/logger.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/loggers/logger.go b/common/loggers/logger.go
index b94e9e935..640611939 100644
--- a/common/loggers/logger.go
+++ b/common/loggers/logger.go
@@ -302,6 +302,6 @@ type logWriter struct {
}
func (w logWriter) Write(p []byte) (n int, err error) {
- w.l.Logf("%s", p)
+ w.l.Log(logg.String(string(p)))
return len(p), nil
}