[VOL-1024] This update consists of:
1) Inter-container kafka library in Go
2) initial set of proto definitions
3) Test cases for the kafka library
Change-Id: Ibe8b0f673a90bbe4cb92847ce40f31ec2d0b6244
diff --git a/common/log/log.go b/common/log/log.go
index e9f3c1b..d751c34 100644
--- a/common/log/log.go
+++ b/common/log/log.go
@@ -1,7 +1,6 @@
package log
import (
- "errors"
"fmt"
zp "go.uber.org/zap"
zc "go.uber.org/zap/zapcore"
@@ -148,7 +147,9 @@
// this method will return an error
func GetLogger() (Logger, error) {
if defaultLogger == nil {
- return nil, errors.New("Uninitialized-logger")
+ // Setup the logger with default values - debug level,
+ SetLogger(JSON, 0, Fields{"instanceId": "default-logger"})
+ //return nil, errors.New("Uninitialized-logger")
}
return defaultLogger, nil
}