From 464e6bec9508fe7659e9079d5ba21a00e26193fd Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Tue, 27 Oct 2015 08:22:15 +0100 Subject: [PATCH] Log lines in REST should have lower case keys --- lib/logger/logger.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/logger/logger.go b/lib/logger/logger.go index ce63b5e85..fa6f9dce7 100644 --- a/lib/logger/logger.go +++ b/lib/logger/logger.go @@ -319,8 +319,8 @@ type Recorder struct { // A Line represents a single log entry. type Line struct { - When time.Time - Message string + When time.Time `json:"when"` + Message string `json:"message"` } func NewRecorder(l Logger, level LogLevel, size, initial int) *Recorder {