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

【WEB系列】内嵌Tomcat配置Accesslog日志文件生成位置源码探索 | 一灰灰Blog #230

Open
liuyueyi opened this issue Apr 25, 2022 · 0 comments

Comments

@liuyueyi
Copy link
Owner

https://spring.hhui.top/spring-blog/2022/04/24/220422-SpringBoot%E5%86%85%E5%B5%8Ctomcat%E9%85%8D%E7%BD%AEaccesslog%E6%97%A5%E5%BF%97%E6%96%87%E4%BB%B6%E7%94%9F%E6%88%90%E4%BD%8D%E7%BD%AE%E6%8E%A2%E7%A9%B6/

现在SpringBoot应用大多是内嵌tomcat,以jar包方式启动对外提供服务,最近遇到一个有意思的问题,当我希望输出tomcat的 access.log 时,添加上对应的配置之后,发现windowns系统下找不到这个日志文件,而linux/mac则没有什么问题; 所以花了些时间定位一下,本文将记录定位这个日志文件生成的全过程,当发现最后的结论时,更让我吃惊的事情来了,就这么个问题,在三年前我

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant