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

关于Apollo自身日志填满磁盘的问题 #2459

Closed
kevinten10 opened this issue Jul 19, 2019 · 1 comment
Closed

关于Apollo自身日志填满磁盘的问题 #2459

kevinten10 opened this issue Jul 19, 2019 · 1 comment
Labels
kind/question Categorizes issue when someone want to know answer of a question

Comments

@kevinten10
Copy link

问题描述如下:

我在阿里云学生服务器通过docker部署了apollo,硬盘容量为50GB,运行数月之后,硬盘几乎填满,导致docker容器被kill。怀疑是apollo自身的日志导致。

想请问apollo系统对自身产生的日志有无过期清除策略,如何及时的清理apollo自身产生的日志呢?

@kezhenxu94
Copy link
Member

@kevinten10 Apollo 日志打印使用 logback 框架,可以修改 logback.xml 使用 rotate file appender 并且指定单个日志文件大小/保留天数/日志文件数等,详情可以参考 logback 文档或 Google

@kezhenxu94 kezhenxu94 added the kind/question Categorizes issue when someone want to know answer of a question label Jul 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Categorizes issue when someone want to know answer of a question
Projects
None yet
Development

No branches or pull requests

2 participants