diff --git a/VERSION b/VERSION index 424d5b0..c04c650 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.7-dev +1.2.7 diff --git a/logger/logger.go b/logger/logger.go index 5d14839..0ff7783 100644 --- a/logger/logger.go +++ b/logger/logger.go @@ -23,7 +23,6 @@ var ( AppLog *zap.SugaredLogger DrsmLog *zap.SugaredLogger FsmLog *zap.SugaredLogger - PathLog *zap.SugaredLogger UtilLog *zap.SugaredLogger Util3GPPLog *zap.SugaredLogger atomicLevel zap.AtomicLevel @@ -55,9 +54,10 @@ func init() { panic(err) } - UtilLog = log.Sugar().With("component", "LIB", "category", "Util") + AppLog = log.Sugar().With("component", "dbtestapp", "category", "mongoapi") DrsmLog = log.Sugar().With("component", "LIB", "category", "DRSM") FsmLog = log.Sugar().With("component", "LIB", "category", "FSM") + UtilLog = log.Sugar().With("component", "LIB", "category", "Util") Util3GPPLog = log.Sugar().With("component", "LIB", "category", "Util3GPP") } diff --git a/logger/logger_config.go b/logger/logger_config.go index 525afe3..c8d1990 100644 --- a/logger/logger_config.go +++ b/logger/logger_config.go @@ -30,7 +30,7 @@ type Logger struct { SCTPLB *LogSetting `yaml:"SCTPLB" valid:"optional"` Aper *LogSetting `yaml:"Aper" valid:"optional"` - FSM *LogSetting `yaml:"FSM" valid:"optional"` + Util *LogSetting `yaml:"Util" valid:"optional"` MongoDBLibrary *LogSetting `yaml:"MongoDBLibrary" valid:"optional"` NAS *LogSetting `yaml:"NAS" valid:"optional"` NGAP *LogSetting `yaml:"NGAP" valid:"optional"`