logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Sicker <boa...@gmail.com>
Subject Re: controlling the status logger output?
Date Mon, 07 Mar 2016 15:53:13 GMT
The only thing I can think of is logrotate, but I'm not sure if that would
work properly. StatusLogger is intentionally simple so that it will always
work regardless of the rest of the system.

On 7 March 2016 at 09:39, Nicholas Duane <nickdu@msn.com> wrote:

> We've written some appenders and I think the prescribed approach is to use
> the status logger in log4j2 components, is that correct?  The problem we're
> running into is that we redirect stdout to a file and thus that file can
> grow unbounded.  It seems there's no way to have something like a rolling
> file appender for the status logger, correct?  Any suggestions for limiting
> the size of the log generated by the status logger when stdout has been
> redirected to a file?
> Thanks,
> Nick

Matt Sicker <boards@gmail.com>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message