tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Ricker <bric...@brick.net>
Subject Re: Where do I specify location of stdout and stderr?
Date Wed, 29 Dec 2004 13:01:44 GMT
We do this by finding the log entry in catalina.sh. It should be 
something like catalina.out. Change that to whatever you like. I moved 
it myself to fit how our other app servers work.

Ben Ricker


On Dec 29, 2004, at 12:39 AM, Stephen Charles Huey wrote:


> Ok, I just figured out that for the Windows box, we specified the
> location of the files that the stdout and stderr get routed into in the
> service install script.  However, we're not using any service install
> script on Linux (should we be doing that?), so where can I specify that
> all the stdout and stderr should go into some particular log files
> instead of getting lost into thin air?  We need those log files,
> particularly when we're troubleshooting!  Thanks...
>
>
>
>
> ----- Original message -----
> From: "Stephen Charles Huey" <stephenhuey@fastmail.fm>
> To: "Tomcat User" <tomcat-user@jakarta.apache.org>
> Date: Tue, 28 Dec 2004 15:40:09 -0600
> Subject: Where do I specify location of stdout and stderr?
>
> I'm trying to move my Tomcat directory from a Windows machine to a 
> Linux
> box, and I've already modified the server.xml to take care of path
> differences, but I've noticed that stdout.log and stderr.log are no
> longer being generated in the logs directory (I can't find them!).  
> Does
> anyone have any idea where this would normally be?  I've also tried to
> WinGrep for them in my app code, but so far nothing...
>
> I see this in my server.xml, but this doesn't seem to be related to the
> stderr and stdout log files:
>
>
>         <!-- Logger shared by all Contexts related to this virtual 
> host.
>          By default (when using FileLogger), log files are created in
>         the "logs" directory relative to $CATALINA_HOME.  If you wish,
>         you can specify a different directory with the "directory"
>         attribute.  Specify either a relative (to $CATALINA_HOME) or
>         absolute path to the desired directory.-->
>
> <Logger className="org.apache.catalina.logger.FileLogger"
> directory="logs"  prefix="localhost_log." suffix=".txt"
> timestamp="true"/>
>
>
> Those log files mentioned above are being generated, but it doesn't
> really make sense that I would need to add a node here for the stdout
> and stderr ones if they're already being generated on the Windows box
> without being mentioned in server.xml...
>
> Thanks for any help...
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>



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


Mime
View raw message