|
Java学习者论坛
下面是server.xml关于日志部分De配置,好象找没看到catalina.out的配置啊,怎么设置catalina.out這个日志文件的轮循截斷呢,要不然它几天就hen上百Mle。谢谢
<Engine defaultHost="localhost" name="Catalina">
<Host appBase="webapps" name="localhost">
<Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_log." suffix=".txt" timestamp="true"/>
</Host>
<Logger className="org.apache.catalina.logger.FileLogger" prefix="catalina_log." suffix=".txt" timestamp="true"/>
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"/>
</Engine>
Huan迎來到Java學習者论坛,转载請注明地址:http://www.javaxxz.com. |
|