You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "zhaoyunxing92 (via GitHub)" <gi...@apache.org> on 2023/03/21 15:30:38 UTC
[GitHub] [dubbo-go] zhaoyunxing92 commented on issue #2247: [Enhancement] 日志配置支持其它框架且可以配置日志文件生成目录和文件大小
zhaoyunxing92 commented on issue #2247:
URL: https://github.com/apache/dubbo-go/issues/2247#issuecomment-1478048316
```yaml
dubbo:
logger:
level: debug
driver: zap
format: text
appender: console,file
file:
name: dubbo.log
max-size: 1mb
max-backups: 2
max-age: 3
compress: true
```
我想的是这种配置
- 日志格式:text/json
- 日指输出支持控制台或文件
- 文件可以支持文件大小、备份、是否压缩、保留几天
--
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