tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfcl...@gmail.com>
Subject Re: Bootstrap redirecting stdout/err via system.set
Date Wed, 28 Nov 2007 17:28:17 GMT
William L. Thomson Jr. wrote:
> On Wed, 2007-11-28 at 09:29 +0100, jean-frederic clere wrote:
>> William L. Thomson Jr. wrote:
>>> Recently on Gentoo I was looking to improve how we start Tomcat.
>>> Specifically how we capture stdout/stderr output from Tomcat on start
>>> and redirect it to catalina.out.
>> Have to tried to use jsvc from http://commons.apache.org/daemon/ for that?
> 
> We presently use start-stop-daemon. Which has some --stdout --stderr
> options coming. It nastily send that stuff to /dev/null, if the
> --background flag is passed along.
> 
> We had a long time bug/feature request for jsvc. I considered it, but
> elected to not go that route. If people want Tomcat on port 80 they can
> do port forwarding or etc. Which allows Tomcat to remaining running as a
> non-root user or etc. Nor the need for jsvc to accomplish that. So it's
> kinda moot.
> 
> But I believe the argument is that applications should do their own
> stderr/out redirection and not to it external of the app. As in not via
> bash/shell redirection and sending that to a log file. The app should be
> doing that internally.

That is what daemon is doing.

Cheers

Jean-Frederic

> 
> So if I am using start-stop-daemon, or jsvc. It doesn't really change
> that aspect.
> 


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


Mime
View raw message