Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(logging): use tracing instead of log4rs #486

Merged
merged 4 commits into from
Feb 25, 2024

Conversation

greenhat616
Copy link
Collaborator

@greenhat616 greenhat616 commented Feb 25, 2024

  1. 使用 tracing 替代 log4rs
  2. 使用 tracing-appender 自带的日记清理配置替换自己实现的清理 job
  3. 支持运行时修改日记等级和最大同时存在的日记文件数
  4. 开发模式、每日构建下,默认启用 parking_lot 的死锁检测

留待以后解决的功能:

  • 逐步从 log 迁移至 tracing
  • 集成 opentelemetryconsole_subscriber 方便做性能分析

Close #464

@greenhat616 greenhat616 merged commit 791baa5 into libnyanpasu:main Feb 25, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

log4rs 迁移到 tracing
1 participant