summaryrefslogtreecommitdiffstats
path: root/utils/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'utils/config.go')
-rw-r--r--utils/config.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/config.go b/utils/config.go
index 18bd15241..12d03b5de 100644
--- a/utils/config.go
+++ b/utils/config.go
@@ -11,7 +11,7 @@ import (
"path/filepath"
"strconv"
- l4g "code.google.com/p/log4go"
+ l4g "github.com/alecthomas/log4go"
"github.com/mattermost/platform/model"
)
@@ -77,7 +77,9 @@ func configureLog(s *model.LogSettings) {
level = l4g.ERROR
}
- l4g.AddFilter("stdout", level, l4g.NewConsoleLogWriter())
+ lw := l4g.NewConsoleLogWriter()
+ lw.SetFormat("[%D %T] [%L] %M")
+ l4g.AddFilter("stdout", level, lw)
}
if s.EnableFile {