Tomcat的FAQ里说了,在这样的情形,首先需要重新设计的日志记录。
Where does System.out go?
How do I rotate catalina.out?
System.out and System.err both print to catalina.out. But you can suppress this via the swallowOutput property and sent to different log files.
catalina.out does not rotate. But it should not be an issue because nothing should be printing to standard output since you are using a logging package, right? a thread about rotation of catalina.out
Where does System.out go?
How do I rotate catalina.out?
System.out and System.err both print to catalina.out. But you can suppress this via the swallowOutput property and sent to different log files.
catalina.out does not rotate. But it should not be an issue because nothing should be printing to standard output since you are using a logging package, right? a thread about rotation of catalina.out
解决方案 »
- 向大侠求助,一个Hibernate+Struts2问题
- SSH2架构报表的设计
- 本人菜鸟,请教个问题:用SSH编程,如何查看完整的sql语句。还有我查出来的对象列表里边的对象从哪里取到?
- 急!关于SSH的action servlet is not availabled的问题
- jsf + spring + hibernate 整合错误
- 求教:java中的jstl要如何配置一下才可以用
- 困惑:ID是使用数据库自增好,还是自己设计好?
- java应用调用EJB出现的错误
- !!!请问tomcat中类的路径怎么放
- 大家看看!weblogic中把connection pool 指派给target Server时出了一堆Exception
- 学习java半年多了,打算研究一个开源的java项目,各位觉得jive适合吗?
- 使用hibernate时报Cannot open connection,是什么原因?
有劳了