Skip to content

Commit

Permalink
Fix InitLogger just no work (#759)
Browse files Browse the repository at this point in the history
* Fix InitLogger just no work

* Delete once
  • Loading branch information
dingyang666 authored Jun 13, 2024
1 parent 61ecaa8 commit b2c297e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions common/logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,6 @@ func BuildLoggerConfig(clientConfig constant.ClientConfig) Config {
func InitLogger(config Config) (err error) {
logLock.Lock()
defer logLock.Unlock()
if logger != nil {
return
}
logger, err = InitNacosLogger(config)
return
}
Expand Down

0 comments on commit b2c297e

Please sign in to comment.