Bug#607050: tomcat6: catalina.out grows

Ludovic Claude ludovic.claude at laposte.net
Mon Dec 20 21:09:24 UTC 2010


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
> debian-java at lists.debian.org for discussions and questions.
> 
> 






More information about the pkg-java-maintainers mailing list