Fix log prefix formatting

pull/6524/head
Jason Wilder 2016-04-29 22:30:30 -06:00
parent bd1009080e
commit 61e0d8ff93
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ func NewStore(path string) *Store {
// SetLogOutput sets the writer to which all logs are written. It must not be
// called after Open is called.
func (s *Store) SetLogOutput(w io.Writer) {
s.Logger = log.New(w, "[store]", log.LstdFlags)
s.Logger = log.New(w, "[store] ", log.LstdFlags)
s.logOutput = w
for _, s := range s.shards {
s.SetLogOutput(w)