logging something to catalina.out
Bu mail GESNET sunucusu tarafindan virus kontrolunden gecirilmistir.
Re: logging something to catalina.out
- Original Message - From: muhammed soyer [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, September 06, 2004 7:53 AM Subject: logging something to catalina.out Hello, How can I write something to the logfile . I should study log4j in a few days .. But if there is an easyway of writing a line to the log files of tomcat ..it should be helpfull to me now .. -- If I'm not mistaken, all you need is: System.out.println(I should study log4j in a few days...). Rhino - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: logging something to catalina.out
Rhino wrote: If I'm not mistaken, all you need is: System.out.println(I should study log4j in a few days...). Try replacing 'out' with 'err', then it should work... ;-) Christian -- Gre aus Europas grtem Greetings from Europe's largest Urban Sprawl (DUDOMA -- Duisburg Dortmund Metropolitan Axis ;-) Christian Fritze [EMAIL PROTECTED] http://www.sprawl.de/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: logging something to catalina.out
:) I was thinking that my class is jumping inthe catch block ..So I have tried these in the catch block and couldnt get it written .. As always the error is in the place where I am not looking for it :) Thanks for your answers -ms - Original Message - From: Rhino [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, September 06, 2004 3:10 PM Subject: Re: logging something to catalina.out - Original Message - From: muhammed soyer [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, September 06, 2004 7:53 AM Subject: logging something to catalina.out Hello, How can I write something to the logfile . I should study log4j in a few days .. But if there is an easyway of writing a line to the log files of tomcat ..it should be helpfull to me now .. -- If I'm not mistaken, all you need is: System.out.println(I should study log4j in a few days...). Rhino - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Bu mail GESNET sunucusu tarafindan virus kontrolunden gecirilmistir. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: logging something to catalina.out
- Original Message - From: Christian Fritze [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, September 06, 2004 8:18 AM Subject: Re: logging something to catalina.out Rhino wrote: If I'm not mistaken, all you need is: System.out.println(I should study log4j in a few days...). Try replacing 'out' with 'err', then it should work... ;-) Don't *both* System.out.println() and System.err.println() write to catalina.out? If not, where does System.out.println() write? I'm not arguing with you; I really don't remember. Rhino - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]