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_r367203221
##
File path: pkg/log/zap.go
##
@@ -59,6 +59,9 @@ type Config struct {
// days
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_r367204153
##
File path: server/handler/accesslog/handler.go
##
@@ -0,0 +1,98 @@
+// Licensed to the Apache
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() {
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_r366112743
##
File path: etc/conf/app.conf
##
@@ -152,6 +152,12 @@ log_backup_count = 50
log_format = text
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_r366110702
##
File path: server/core/config.go
##
@@ -108,12 +108,14 @@ func newInfo() pb.ServerInformation
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_r366111996
##
File path: server/handler/accesslog/handler.go
##
@@ -0,0 +1,99 @@
+// Licensed to the Apache
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_r366112349
##
File path: server/handler/accesslog/handler.go
##
@@ -0,0 +1,99 @@
+// Licensed to the Apache
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_r366112543
##
File path: server/handler/accesslog/null.go
##
@@ -0,0 +1,22 @@
+// Licensed to the Apache
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_r366111391
##
File path: server/core/config.go
##
@@ -108,12 +108,14 @@ func newInfo() pb.ServerInformation