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

springboot内置tomcat如何使用RollingFileAppender输出访问日志 #41

Open
249510573 opened this issue Mar 8, 2020 · 0 comments

Comments

@249510573
Copy link

springboot内置tomcat开启访问日志,是否可以借助log4j,控制accesslog日志的个数,避免人为定期清理accesslog。
外置tomcat可以通过log4j RollingFileAppender控制accesslog个数。 springboot如何使用RollingFileAppender输出访问日志

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

No branches or pull requests

1 participant