RE: Accessing stdout while remotely monitoring tomcat with lambda probe

2009-08-16 Thread Caldarale, Charles R
> From: Daniele Development-ML [mailto:daniele@googlemail.com]
> Subject: Accessing stdout while remotely monitoring tomcat with lambda
> probe
> 
> The problem is that I cannot visualise the content of the stdout file,
> which is automatically redirected in CATALINA/logs/stdout_20090816.log .

When posting, it's extremely beneficial to give people a clue about the 
environment you're running with, such as the Tomcat version, JRE/JDK version, 
OS, etc.

I'm guessing you're running Tomcat as a Windows service.  The redirection of 
stdout is done by the service wrapper, not Tomcat proper; Tomcat actually has 
no knowledge of that redirection so Lambda Probe doesn't either.

You can try setting swallowOuput to "true" for the webapps of interest (or in 
conf/context.xml if you want it to apply to all webapps).  That should get most 
if not all of the data currently going to stdout into one of the regular log 
files that Lambda Probe does know about.

Doc reference:
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Standard%20Implementation

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


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



Accessing stdout while remotely monitoring tomcat with lambda probe

2009-08-16 Thread Daniele Development-ML
Hello everybody,
I'm trying to monitor Tomcat with lambdaprobe and I'm coming across some
configuration difficulties - the best place where to post this question
would be their forum, but it appears to be not very active and thus I'm
giving a go here.

The problem is that I cannot visualise the content of the stdout file, which
is automatically redirected in CATALINA/logs/stdout_20090816.log .

I wonder how I could possibly configure the application to include this file
in the log file list. Could you suggest anything about this?

I know that a good practice should be using the logging system, rather than
printing out on stdout, but I have to temporarily get around this.

Thanks!

Dan