tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Kloeber <>
Subject Re: Where does my stderr go?
Date Tue, 14 Dec 2010 08:50:06 GMT

thanks for your suggestion. Yes, I run Tomcat as a service.
I tried your suggestion and it looks all normal/ok.

    * Level: Info
    * Log path: my tomcat installation directory/logs
    * Log prefix: jakarta_service_
    * Redirect Stdout: auto
    * Redirect Stderr: auto

I tried changing the loggin level to debug, but it doesn't make any 
Any other ideas?


André Warnier wrote on 13.12.2010 16:56:
> Thomas Kloeber wrote:
>> Folks'es,
>> I have a strange problem with my Tomcat-Servlets:
>>    everything my servlets print out via System.err is lost and does not
>>    show up in any of the log files.
>>    How can that be and what can I do about it?
>> When I start Tomcat all the usual log files arecreated like 
>> stdout_XXXXXXXX.log, localhost_access_log, catalina.*.log, 
>> stder_XXXXXXXX.log, etc. However, stderr.*.log remains empty even if 
>> my servlets print stuff to System.err or dump stack traces. Only if I 
>> print to System.out the info appears in stdout_.*.log.
>> I'm using Apache Tomcat 6.0.26, Java 1.6.0_22-b04 on Windows 2003 x86.
> Presumably, you are running Tomcat as a Windows Service.
> If that is the case, navigate to the tomcat/bin directory, and 
> double-click on the tomcat6w.exe program.  Then in the dialog, select 
> the "Logging" tab.  This may explain what happens.

Intelligent Communication Software Vertriebs GmbH
Firmensitz: Kistlerhof Str. 111, 81379 München
Registergericht: Amtsgericht München, HRB 88283
Geschäftsführer: Albert Fuss

View raw message