You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by JP <ma...@jpluebbert.de> on 2020/11/02 12:20:02 UTC

[daemon] Daemon Logfile Rotation on Windows

Hello,

I am searching for any documentation on Daemon / Procrun Logfile
Rotation. As there is not much in the official documentation, I'd like
to ask you my questions.

From observation it seems like the Procrun log itself and also StdOutput
and StdError are rotated at service startup. Ok, not really rotated but
on each restart a new logfile with a date suffix YYYY-MM-DD is created
and used. Is this correct?

The more important question, is there any mechanism in place which
deletes older logfiles after a certain time period? And what time period
is used there?

Thank you

Best regards

JP

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


Re: [daemon] Daemon Logfile Rotation on Windows

Posted by Mark Thomas <ma...@apache.org>.
On 02/11/2020 12:20, JP wrote:
> Hello,
> 
> I am searching for any documentation on Daemon / Procrun Logfile
> Rotation. As there is not much in the official documentation, I'd like
> to ask you my questions.
> 
> From observation it seems like the Procrun log itself and also StdOutput
> and StdError are rotated at service startup. Ok, not really rotated but
> on each restart a new logfile with a date suffix YYYY-MM-DD is created
> and used. Is this correct?

Correct.

> The more important question, is there any mechanism in place which
> deletes older logfiles after a certain time period? And what time period
> is used there?

No. N/A.

The expectation is that applications use a logging framework rather than
log directly to stdout / stderr. The volume of logging to those
destinations is expected is be sufficiently small that rotation is not
necessary.

Mark

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