You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/07/23 16:33:58 UTC

[GitHub] [dubbo-go-samples] cjphaha opened a new pull request #179: Ftr: 3.0 lumberjack log sample

cjphaha opened a new pull request #179:
URL: https://github.com/apache/dubbo-go-samples/pull/179


   对应 dubbo-go 中的 pr 为 https://github.com/apache/dubbo-go/pull/1335
   * 添加日志切分的样例
   * 为日志切分样例添加 .run.xml 文件,可以在 goland 中快速启动
   * 修复 .run 目录中的 tracting 的 .run.xml 文件 env 的错误路径
   * 功能详细介绍在 README 中


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go-samples] AlexStocks commented on a change in pull request #179: Ftr: 3.0 lumberjack log sample

Posted by GitBox <gi...@apache.org>.
AlexStocks commented on a change in pull request #179:
URL: https://github.com/apache/dubbo-go-samples/pull/179#discussion_r675989935



##########
File path: logger/README.md
##########
@@ -0,0 +1,116 @@
+## Log usage
+
+The samples demonstrate how to configure dubbo-go logger using lumberjack
+
+### Configuration
+
+Output file settings
+
+```yaml
+lumberjackConfig:
+  # The name of the log file
+  filename: "logs.log"
+  # The maximum size of each log file length, the default is 100M

Review comment:
       The maximum size of each log file length, its unit is MiB. The default value is 100MiB.




-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go-samples] AlexStocks merged pull request #179: Ftr: 3.0 lumberjack log sample

Posted by GitBox <gi...@apache.org>.
AlexStocks merged pull request #179:
URL: https://github.com/apache/dubbo-go-samples/pull/179


   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org