tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: rotate catalina.out
Date Wed, 12 Apr 2017 14:32:37 GMT
Am 12.04.2017 um 16:15 schrieb Mark Thomas:
> On 12/04/17 14:13, shivashankar manukondu wrote:
>> Hi,
>>
>> Do we have any default catalina.out
>> <https://wiki.apache.org/tomcat/FAQ/Logging#Q10> rotation in the tomcat8
>> without using any external tool like Log4J or logrotate.
>
> No. But since catalina.out is only what is written to stdout is should
> be mostly (ideally entirely) empty.

Aren't we currently still copying everything to STDOUT by default?

In logging.properties:

.handlers = 1catalina.org.apache.juli.AsyncFileHandler, 
java.util.logging.ConsoleHandler

So once people switch this to production style config

.handlers = 1catalina.org.apache.juli.AsyncFileHandler

your statement would apply.

Regards,

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message