You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Yves Glodt <yg...@gmail.com> on 2009/07/07 13:00:59 UTC

Where does System.out.println go by default

Hi,

I have a tag-library in WEB-INF/lib which I use from inside OpenCms.
The taglib works fine. It logs some
messages to System.out, but I can not find them... Could it be that
tomcat  (5.5 on debian lenny) swallows this
kind of logging by default?

I am aware that this kind of logging is *bad*, but I need to access
these logs asap.

Can someone help and tell me how to get access to them ?

Best regards,

Yves

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Where does System.out.println go by default

Posted by Yves Glodt <yg...@gmail.com>.
Thanks for all your suggestions.... The startup-script seems to have
done some magic, the log ended up in /var/log/daemon.log

2009/7/7 André Warnier <aw...@ice-sa.com>:
> Serge Fonville wrote:
>>>
>>> The taglib works fine. It logs some
>>> messages to System.out, but I can not find them... Could it be that
>>> tomcat  (5.5 on debian lenny) swallows this
>>> kind of logging by default?
>>>
>>> I am aware that this kind of logging is *bad*, but I need to access
>>> these logs asap.
>>
>> I'd google for: tomcat stdout
>>
>> http://tomcat.apache.org/tomcat-5.5-doc/logging.html
>>
> And have a look at the Tomcat startup script (/etc/init.d/tomcat5.5), to see
> how Tomcat is actually started, and what it does with it's STDOUT.
> Chances are that it does some fancy footwork there.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Where does System.out.println go by default

Posted by André Warnier <aw...@ice-sa.com>.
Serge Fonville wrote:
>> The taglib works fine. It logs some
>> messages to System.out, but I can not find them... Could it be that
>> tomcat  (5.5 on debian lenny) swallows this
>> kind of logging by default?
>>
>> I am aware that this kind of logging is *bad*, but I need to access
>> these logs asap.
> 
> I'd google for: tomcat stdout
> 
> http://tomcat.apache.org/tomcat-5.5-doc/logging.html
> 
And have a look at the Tomcat startup script (/etc/init.d/tomcat5.5), to 
see how Tomcat is actually started, and what it does with it's STDOUT.
Chances are that it does some fancy footwork there.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Where does System.out.println go by default

Posted by Ghufran <gh...@vopium.com>.
It goes to catalina.out file.

-----Original Message-----
From: Serge Fonville [mailto:serge.fonville@gmail.com] 
Sent: Tuesday, July 07, 2009 4:44 PM
To: Tomcat Users List
Subject: Re: Where does System.out.println go by default

> The taglib works fine. It logs some
> messages to System.out, but I can not find them... Could it be that
> tomcat  (5.5 on debian lenny) swallows this
> kind of logging by default?
>
> I am aware that this kind of logging is *bad*, but I need to access
> these logs asap.

I'd google for: tomcat stdout

http://tomcat.apache.org/tomcat-5.5-doc/logging.html

HTH

Regards,

Serge Fonville

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org

Checked by AVG - www.avg.com 
Version: 8.5.375 / Virus Database: 270.13.5/2220 - Release Date: 07/05/09
17:54:00


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Where does System.out.println go by default

Posted by Serge Fonville <se...@gmail.com>.
> The taglib works fine. It logs some
> messages to System.out, but I can not find them... Could it be that
> tomcat  (5.5 on debian lenny) swallows this
> kind of logging by default?
>
> I am aware that this kind of logging is *bad*, but I need to access
> these logs asap.

I'd google for: tomcat stdout

http://tomcat.apache.org/tomcat-5.5-doc/logging.html

HTH

Regards,

Serge Fonville

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org