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/05/18 09:50:58 UTC

[GitHub] [dubbo-go] whitekeyboard opened a new issue #1210: 建议增加lumberjack组件,增加日志分割功能

whitekeyboard opened a new issue #1210:
URL: https://github.com/apache/dubbo-go/issues/1210


   当前使用zap日志库,不支持日志分割,以及压缩功能,长时间运行服务,会导致日志无限增大。
   查询、分析日志较为困难,建议增加lumberjack组件,增加日志分割功能,以及压缩等功能。
   谢谢


-- 
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:
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] LaurenceLiZhixin commented on issue #1210: 建议增加lumberjack组件,增加日志分割功能

Posted by GitBox <gi...@apache.org>.
LaurenceLiZhixin commented on issue #1210:
URL: https://github.com/apache/dubbo-go/issues/1210#issuecomment-898431727


   This is added in #1335 


-- 
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] AlexStocks closed issue #1210: 建议增加lumberjack组件,增加日志分割功能

Posted by GitBox <gi...@apache.org>.
AlexStocks closed issue #1210:
URL: https://github.com/apache/dubbo-go/issues/1210


   


-- 
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:
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] LaurenceLiZhixin closed issue #1210: 建议增加lumberjack组件,增加日志分割功能

Posted by GitBox <gi...@apache.org>.
LaurenceLiZhixin closed issue #1210:
URL: https://github.com/apache/dubbo-go/issues/1210


   


-- 
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] zouyx commented on issue #1210: 建议增加lumberjack组件,增加日志分割功能

Posted by GitBox <gi...@apache.org>.
zouyx commented on issue #1210:
URL: https://github.com/apache/dubbo-go/issues/1210#issuecomment-844615612


   zap 是默认的日志组件,你可以通过实现logger 接口自定义日志组件。
   
   https://github.com/apache/dubbo-go/blob/cc74aa54b25ece8060e55f279eddd9aa383ae39c/common/logger/logger.go#L146


-- 
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:
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] AlexStocks commented on issue #1210: 建议增加lumberjack组件,增加日志分割功能

Posted by GitBox <gi...@apache.org>.
AlexStocks commented on issue #1210:
URL: https://github.com/apache/dubbo-go/issues/1210#issuecomment-843182821


   a pr is welcome. thx.


-- 
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:
users@infra.apache.org



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