I think that it could be a problem with the commons-logging API used by
tomcat, struts, ...

Theoricaly, commons-logging should discover itself the logging lib
used(log4j, JDK 1.4, ...) but you can force it using a property files.

See the commons logging doc to know more about this property file.

Arno

> -----Message d'origine-----
> De: Tony LaPaso [mailto:[EMAIL PROTECTED]]
> Date: mercredi 28 août 2002 17:00
> À: Tomcat Users List
> Objet: Re: Logging to console not working with Tomcat 4.1.9
> 
> 
> Well, honestly, I don't know about log4j. I know that prior to
> v4.1.9 I would use System.out/err to do light logging to the
> console and as of v4.1.9 it quit working. I'm not sure if
> System.out/err are routed to log4j.
> 
> sorry...
> 
> 
> ----- Original Message -----
> From: "Michael" <[EMAIL PROTECTED]>
> To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> Sent: Wednesday, August 28, 2002 9:47 AM
> Subject: RE : Logging to console not working with Tomcat 4.1.9
> 
> 
> > No I mean log4j's ConsoleAppender.  So are you saying that
> Tomcat now
> > routes the log4j ConsoleAppender to a logfile as well?  If so I
> think
> > that's a big problem for debugging.  While running my app in
> the IDE I
> > want to see all the console output without having to switch to
> a text
> > editor and reload the log file.  Can I configure Tomcat 4.1.9
> to do
> > this??
> >
> > Michael
> >
> > > -----Original Message-----
> > > From: Tony LaPaso [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, August 28, 2002 4:38 PM
> > > To: Tomcat Users List
> > > Subject: Re: Logging to console not working with Tomcat 4.1.9
> > >
> > >
> > > So you mean output to System.out & System.err? As of 4.1.9
> > > that's been changed to go to a log file.
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: "Michael" <[EMAIL PROTECTED]>
> > > To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> > > Sent: Wednesday, August 28, 2002 9:20 AM
> > > Subject: BUG: Logging to console not working with Tomcat
> 4.1.9
> > >
> > >
> > > > I uninstalled 4.1.9 and installed 4.0.4. When I start
> tomcat I
> > > get pages
> > > > and pages of debug log messages on the console from the
> apache
> > > tools I'm
> > > > using (Struts, messenger, etc.) and my own classes.  I
> > > uninstalled 4.0.4
> > > > and installed 4.1.9 and when I run it I only get 4 lines.
> I
> > > haven't
> > > > changed anything in my code or the tomcat directory.  So
> I'm
> > > 100%
> > > > positive something is broken in 4.1.9 regarding outputing
> > > messages to
> > > > the console.  For now I've switched back to 4.0.4 and
> logging
> > > to the
> > > > console is working just fine.
> > > >
> > > > I filed a bug on Bugzilla, I'll post any responses I get to
> the
> > > mailing
> > > > list.
> > > >
> > > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12113
> > > >
> > > >
> > > > Michael
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > <mailto:tomcat-user-> [EMAIL PROTECTED]>
> > > For
> > > additional commands,
> > > e-mail: <mailto:[EMAIL PROTECTED]>
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> >
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to