Hi Christopher,
On 02/01/2016 05:07 PM, Christopher Schultz wrote:
> Harald,
>
> On 2/1/16 10:42 AM, Harald Dunkel wrote:
>> would it be possible to integate apache's rotatelogs into
>> catalina.sh to support daily rotation of catalina.out without
>> restart?
>
> Nope.
>
:-(.
>> This would be #1 on my wish list for version 9.
>
> If you use the Tomcat startup scripts, the shell is responsible for
> output redirection. Hacking that to pipe-through an external program
> (eg. chronolog, etc.) is possible but makes the scripts very complicated
> .
OK, then the question is why does catalina.sh write to catalina.out
at all? stdout/stderr of the script would be sufficient. Writing to
a hard wired log file without rotation is the worst option of all
(even if you can choose the file name).
>
> If you want to rotate stdout/stderr logs, you should use jsvc or some
> other service-runner; they will know how to rotate those files. For
> example, jsvc can rotate those files when it receives a signal.
>
Will this make catalina.out obsolete?
Regards
Harri
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org