tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "****************" <>
Subject RE: Viewing errors
Date Tue, 24 Feb 2004 04:01:54 GMT


You could use log4j and configure it to output to the console.  Attached
is a sample file.

Here is how you would declare the logger instance in a class
public static Logger log = Logger.getLogger(DbUtilTester.class);


-----Original Message-----
From: Leo Tomcat [] 
Sent: Monday, February 23, 2004 7:44 AM
Subject: Viewing errors

Hi all, I'm using Tomcat 4.0.6 and I've already installed it as a
My problem now, is that I can't see the console that was so usefull for
viewing when some exception was thrown, or just for debugging using
I've searched the log files at $TOMCAT_HOME\logs and I couldn't find any
of the logs that my webapp leaves.
I've tried System.err and nothing happend.
Does any one know, how to send my my error-logs or simplier logs to a
Is that configurable or a code matter??


View raw message