Hi all I think I've got the answer to your question.
The fact is that you've got three different loggers : FileLogger, SystemErrLogger and SystemOutLogger. If you read carefully the doc, you'll see that you can't specify any file name for the Systeme's loggers. So if you specify a FileLogger for a <host>, all logs will be redirected to the file you defined for this logger but if you specify a SystemLogger all logs will be redirected to the standard error/out stream. Hope this help, R�mi. le jeu 28-02-2002 � 01:55, Craig R. McClanahan a �crit : > > > On Wed, 27 Feb 2002, Kranthi Meka wrote: > > > Date: Wed, 27 Feb 2002 16:20:42 -0800 > > From: Kranthi Meka <[EMAIL PROTECTED]> > > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > > Subject: RE: org.apache.catalina.logger.SystemOutLogger > > > > Craig, > > > > I mean if we can NOT have seperate sytem out logs per application, then what > > is SystemOutLogger usage ? > > The tomcat documents says that using this we can seperate system outs. > > > > Can you please point me to where you read this? If that's what it really > says, then it is not accurate. > > > Thx, > > Kranthi. > > > > Craig > > > > -----Original Message----- > > From: Kranthi Meka [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, February 27, 2002 4:19 PM > > To: 'Tomcat Users List' > > Subject: RE: org.apache.catalina.logger.SystemOutLogger > > > > > > 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:[EMAIL PROTECTED]] > > 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 <[EMAIL PROTECTED]> > > > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > > > To: Tomcat Users List <[EMAIL PROTECTED]> > > > 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:[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]> > > > > > > > -- > 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]>
