为什么我的“ catalina.out” 500MB大?


Answers:


1

查看Apache Tomcat 日志记录常见问题解答,它指向如何旋转catalina.out 的线程

在Unix上,我只需将catalina.sh命令传递到/ usr / bin / cronolog,它将为我旋转日志。有关更多信息,请参见www.cronolog.org。

正如@slhck指出的那样,有关catalina.out旋转的其他说明不错

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.