[logback-user] Can logback roll catalina.out?

Paul Gifford pggifford at gmail.com
Sat Oct 1 20:08:27 CEST 2011


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 at 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 at 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 at qos.ch
> > http://qos.ch/mailman/listinfo/logback-user
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://qos.ch/mailman/listinfo/logback-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20111001/8f151634/attachment.html>


More information about the Logback-user mailing list