2011/1/11 Thomas Kloeber <kloe...@ics.de>:
> Konstantin,
>
> Konstantin Kolinko wrote on 11.01.2011 01:03:
>>
>> https://issues.apache.org/bugzilla/show_bug.cgi?id=18462
>
> thanks for sending this link. I'm surprised that this is such an old issue!
> So, if I understand the discussion correctly, Tomcat redirects stderr into
> stdout_XXX.log, right?
>
> Strange though, that I couldn't find my stack trace when I ran
> exception.printStackTrace().
> Either this goes to yet another place, which I can't believe or I must have
> completely missed in, which I can't quite believe either ;)

1. System.out is buffered. So it might get stuck in the buffer. (Just
saying. Have not tried to verify whether it is truth).
System.err.flush() should help.

2. If you used swallowOutput="true" in the context configuration file
(it is "false" by default), then it will be written to the log file of
the Host, i.e. into localhost_* log.

Best regards,
Konstantin Kolinko

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

Reply via email to