Change LOG_FORMAT to basic

This commit is contained in:
Arthur Barr
2018-03-06 13:47:52 +00:00
parent ab60a8975f
commit a14da7aaa8
3 changed files with 5 additions and 5 deletions

View File

@@ -94,10 +94,10 @@ func configureLogger() (mirrorFunc, error) {
d := getDebug()
switch f {
case "json":
log = logger.NewLogger(os.Stdout, d, true)
log = logger.NewLogger(os.Stderr, d, true)
return log.LogDirect, nil
case "simple":
log = logger.NewLogger(os.Stdout, d, false)
case "basic":
log = logger.NewLogger(os.Stderr, d, false)
return func(msg string) {
// Parse the JSON message, and print a simplified version
var obj map[string]interface{}