Ok, I'll try it, thanks.

----- Original Message -----
From: "****************" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, February 24, 2004 1:01 AM
Subject: RE: Viewing errors


>
> Leo,
>
> You could use log4j and configure it to output to the console.  Attached
> is a sample log4j.properties file.
>
> Here is how you would declare the logger instance in a class
> public static Logger log = Logger.getLogger(DbUtilTester.class);
>
> Manuel
>
> -----Original Message-----
> From: Leo Tomcat [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 23, 2004 7:44 AM
> To: [EMAIL PROTECTED]
> Subject: Viewing errors
>
> Hi all, I'm using Tomcat 4.0.6 and I've already installed it as a
> service.
> 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
> System.out.println.
> 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
> file??
> Is that configurable or a code matter??
>
> Thanks
>
>
>
>
>


----------------------------------------------------------------------------
----


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

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

Reply via email to