Skip to content

Commit

Permalink
Enable DRSM and other components logging (#83)
Browse files Browse the repository at this point in the history
Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>
  • Loading branch information
gab-arrobo authored Dec 12, 2024
1 parent 894e4f2 commit 776217b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.7-dev
1.2.7
4 changes: 2 additions & 2 deletions logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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")
}

Expand Down
2 changes: 1 addition & 1 deletion logger/logger_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 776217b

Please # to comment.