diff --git a/common/logger/logger.go b/common/logger/logger.go index b154fefd..f0d51101 100644 --- a/common/logger/logger.go +++ b/common/logger/logger.go @@ -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 }