tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kranthi Meka <km...@once.com>
Subject RE: org.apache.catalina.logger.SystemOutLogger
Date Thu, 28 Feb 2002 00:18:53 GMT
Hi Craig,

If we can have seperate Sysytem out logs then what is the functionality of
SystemOutLogger ?

Further, Even if I remove FileLogger, SystemErrLogger and just have
SystemOutLogger defined in my application context, the system out log is not
generated. 

Thanks,
Kranthi.



-----Original Message-----
From: Craig R. McClanahan [mailto:craigmcc@apache.org]
Sent: Wednesday, February 27, 2002 4:13 PM
To: Tomcat Users List
Subject: Re: org.apache.catalina.logger.SystemOutLogger 


On Wed, 27 Feb 2002, Craig R. McClanahan wrote:

> Date: Wed, 27 Feb 2002 16:08:51 -0800 (PST)
> From: Craig R. McClanahan <craigmcc@apache.org>
> Reply-To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> Subject: Re: org.apache.catalina.logger.SystemOutLogger
>
>
>
> On Wed, 27 Feb 2002, Kranthi Meka wrote:
>
> >
> > I am using the below setting in my application context inside
server.xml.
> >
> >         <!-- Tomcat EADMIN Context -->
> >         <Context path="/eadmin" docBase="/usr/local/webapps/eadmin"
> > debug="0"
> >                  reloadable="true">
> >           <Logger className="org.apache.catalina.logger.FileLogger"
> >                      prefix="eadmin_file_log." suffix=".txt"
> >                   timestamp="true"/>
> >           <Logger className="org.apache.catalina.logger.SystemErrLogger"
> >                      prefix="eadmin_syserr_log." suffix=".txt"
> >                   timestamp="true"/>
> >           <Logger className="org.apache.catalina.logger.SystemOutLogger"
> >                      prefix="eadmin_sysout_log." suffix=".txt"
> >                   timestamp="true"/>
> >         </Context>
> >
> > FileLogger work fine, but SystemErrLogger, SystemOutLogger are not being
> > generated.
> > The Systemouts, errors are still going to catalina.out.
> >
>

One thing I forgot to note in this -- there is exactly one logger per
<Context>, <Host>, or <Engine> element (last one wins).  So, trying to use
the content quoted above means that the only <Logger> enabled would be the
SystemOutLogger.

> > Kranthi.
> >
>
> Craig



--
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