little-cui commented on a change in pull request #622: [SCB-1719] Support 
access log
URL: 
https://github.com/apache/servicecomb-service-center/pull/622#discussion_r367203730
 
 

 ##########
 File path: server/core/config.go
 ##########
 @@ -143,5 +147,8 @@ func initLogger() {
                LogFormatText:  ServerInfo.Config.LogFormat == "text",
                LogRotateSize:  int(ServerInfo.Config.LogRotateSize),
                LogBackupCount: int(ServerInfo.Config.LogBackupCount),
+               EnableLevel:    true,
+               EnableCaller:   true,
+               EnableTime:     true,
 
 Review comment:
   既然都是true,默认为true即可,不用每个地方加设置值

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to