This fixes casting of log message []byte into string with --log-opt line-only=true
Signed-off-by: Igor Karpovich <igor@karpovich.me>
This commit is contained in:
parent
dfe2c023a3
commit
440e50b6c7
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ func (f *logentries) Log(msg *logger.Message) error {
|
|||
logger.PutMessage(msg)
|
||||
f.writer.Println(f.tag, ts, data)
|
||||
} else {
|
||||
line := msg.Line
|
||||
line := string(msg.Line)
|
||||
logger.PutMessage(msg)
|
||||
f.writer.Println(line)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue