summaryrefslogtreecommitdiffstats
path: root/modules/log/writer.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/log/writer.go')
-rw-r--r--modules/log/writer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/log/writer.go b/modules/log/writer.go
index 2503f04d76..6f656c7ce1 100644
--- a/modules/log/writer.go
+++ b/modules/log/writer.go
@@ -203,7 +203,7 @@ func (logger *WriterLogger) createMsg(buf *[]byte, event *Event) {
(&protectedANSIWriter{
w: &baw,
mode: pawMode,
- }).Write([]byte(msg))
+ }).Write(msg)
*buf = baw
if event.stacktrace != "" && logger.StacktraceLevel <= event.level {