
Hi, I'm surprised I haven't been able to find the answer to this. Can logback control and roll catalina out? Thanks, Paul

Typically catalina.out is just the file to which standard out from tomcat is redirected via normal unix stream redirection - so no. You should remove the console appender and add a rolling file appender. On 1 Oct 2011, at 18:09, Paul Gifford <pggifford@gmail.com> wrote:
Hi,
I'm surprised I haven't been able to find the answer to this. Can logback control and roll catalina out?
Thanks,
Paul
_______________________________________________ Logback-user mailing list Logback-user@qos.ch http://qos.ch/mailman/listinfo/logback-user

Thanks. Let me see if I understand this correctly. I can't capture Tomcat's standard out but if I replace the console appender with a rolling file appender, any standard out from the webapps will go into that file, correct? Does that go for system err as well? I followed this example: https://github.com/grgrzybek/tomcat-slf4j-logback which worked great, just unsure of the configuration. Paul On Sat, Oct 1, 2011 at 1:50 PM, Robert Elliot <rob@lidalia.org.uk> wrote:
Typically catalina.out is just the file to which standard out from tomcat is redirected via normal unix stream redirection - so no. You should remove the console appender and add a rolling file appender.
On 1 Oct 2011, at 18:09, Paul Gifford <pggifford@gmail.com> wrote:
Hi,
I'm surprised I haven't been able to find the answer to this. Can logback control and roll catalina out?
Thanks,
Paul
_______________________________________________ Logback-user mailing list Logback-user@qos.ch http://qos.ch/mailman/listinfo/logback-user
Logback-user mailing list Logback-user@qos.ch http://qos.ch/mailman/listinfo/logback-user
participants (2)
-
Paul Gifford
-
Robert Elliot