tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brown Bay" <brown_bay...@hotmail.com>
Subject Re: Log messages
Date Fri, 25 Jan 2002 19:08:36 GMT
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" <shapira@mpi.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
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:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
>

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message