Skip to content

Commit

Permalink
Add Config5g logger and remove outdated PathUtil logger (#69)
Browse files Browse the repository at this point in the history
* Update logging to include `Config5g` and remove outdated `PathUtil`

Signed-off-by: Arrobo, Gabriel <[email protected]>

* Create patch release

Signed-off-by: Arrobo, Gabriel <[email protected]>

---------

Signed-off-by: Arrobo, Gabriel <[email protected]>
  • Loading branch information
gab-arrobo authored Nov 7, 2024
1 parent 5060448 commit 4ba391b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.5-dev
1.2.5
1 change: 0 additions & 1 deletion logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ func init() {
UtilLog = log.Sugar().With("component", "LIB", "category", "Util")
DrsmLog = log.Sugar().With("component", "LIB", "category", "DRSM")
FsmLog = log.Sugar().With("component", "LIB", "category", "FSM")
PathLog = log.Sugar().With("component", "LIB", "category", "Path")
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 @@ -34,6 +34,7 @@ type Logger struct {
MongoDBLibrary *LogSetting `yaml:"MongoDBLibrary" valid:"optional"`
NAS *LogSetting `yaml:"NAS" valid:"optional"`
NGAP *LogSetting `yaml:"NGAP" valid:"optional"`
Config5g *LogSetting `yaml:"Config5g" valid:"optional"`
OpenApi *LogSetting `yaml:"OpenApi" valid:"optional"`
NamfCommunication *LogSetting `yaml:"NamfCommunication" valid:"optional"`
NamfEventExposure *LogSetting `yaml:"NamfEventExposure" valid:"optional"`
Expand All @@ -47,7 +48,6 @@ type Logger struct {
NudmUEAuthentication *LogSetting `yaml:"NudmUEAuthentication" valid:"optional"`
NudmUEContextManagement *LogSetting `yaml:"NudmUEContextManagement" valid:"optional"`
NudrDataRepository *LogSetting `yaml:"NudrDataRepository" valid:"optional"`
PathUtil *LogSetting `yaml:"PathUtil" valid:"optional"`
PFCP *LogSetting `yaml:"PFCP" valid:"optional"`
}

Expand Down

0 comments on commit 4ba391b

Please sign in to comment.