Logback and slf4j can provide a solution here as well, by redirecting
all System.out and System.err to a log file managed by logback.

See:
http://blog.lidalia.org.uk/2010/04/system-out-over-slf4j-code-complete.html
https://github.com/Mahoney/sysout-over-slf4j

Ludovic

On 12/20/2010 10:13 AM, Elmar Haneke wrote:
> 
> 
>> Thank you for the bug report.  I'm wondering if we could easily handle
>> this by using log4j instead of the juli logger as the default logging
>> subsystem.  That would handle daily or sized-based rotations without
>> requiring the user to set up anything additional.
> 
> I would not expect that to help.
> 
> File catalina.out is redirected stdout/stderr of tomcat java process it
> is not handled by any logging framework.
> 
> The output should be piped through cronolog ore something similiar.
> 
> Elmar
> 
> 
> 
> __
> This is the maintainer address of Debian's Java team
> <http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers>. 
> Please use
> [email protected] for discussions and questions.
> 
> 




__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers>. Please 
use
[email protected] for discussions and questions.

Reply via email to