-- but of course it's still really easy to use
tail -f $CATALINA_HOME/logs/catalina.out
to monitor the output. On recent Windows OSs (but not 98)
you can accomplish the same thing by installing CYGWIN and
using it's tail command.
The problem is when using an IDE like Eclipse. I
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
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
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
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:
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
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
On Wed, 28 Aug 2002, Michael wrote:
Date: Wed, 28 Aug 2002 16:47:39 +0200
From: Michael [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE : Logging to console not working with Tomcat 4.1.9
No I mean log4j's