log server startup messages to admin console api (#8264)

This commit is contained in:
poornas
2019-09-22 01:24:32 -07:00
committed by Nitish Tiwari
parent ffded5a930
commit 4925bc3e80
8 changed files with 46 additions and 40 deletions

View File

@@ -29,8 +29,9 @@ import (
// LogInfo holds console log messages
type LogInfo struct {
log.Entry
NodeName string `json:"node"`
Err error `json:"-"`
ConsoleMsg string
NodeName string `json:"node"`
Err error `json:"-"`
}
// SendLog returns true if log pertains to node specified in args.