With respect to logging, I have a program that has System.out.println that
are definied in certain places. If I disable logging for that context, they
goto catalina.out. Is there a way for me to

1. disable logging into catalina.out or for that matter anywhere at all, so
that those System.out's never get written anywhere or just get lost.

2. be able to set a limit on the size of the file, ie. the file should not
be more than 50KB,

Thanks.

Brown.
----- Original Message -----
From: "Yoav Shapira" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, January 25, 2002 1:06 PM
Subject: Re: Log messages


> Hi,
> Look at log4j:
> http://jakarta.apache.org/log4j
>
> We've been using it for a while, both for development and production
> logging, and it's just great.  Most of JSR47 (java.util.logging)
> is based on log4j, and it's also used by several commercial and/or
> big products like JBoss.
>
> Yoav
>
> James Adams wrote:
> >
> > Is there a class I can use to write log messages to the Tomcat log files
> > ?  Can anyone explain how this is done ?  Also I have looked a wee bit
> > at java.util.logging - can this also be used, or is it a better solution
> > ?
> >
> > Thanks for any suggestions.
> >
> > -James Adams
> >
> > --
> > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to