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

IIRC, the ConsoleAppender in Log4J just writes to System.out or
System.err, so Tomcat redirecting those streams will affect Log4J as well.

On Unix systems, Tomcat has *always* redirected console output to a file
-- 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.

> Michael

Craig


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

Reply via email to