Dale King | 17 Jul 16:43

Re: Maximum backup index for RollingFileAppender

On Thu, Jul 17, 2008 at 2:41 AM, Jostein Tveit <josteitv <at> pvv.ntnu.no> wrote:
> "Dale King" <dalewking <at> gmail.com> writes:
>
>> 12 is a hardcoded limit because this requires renames of all backup
>> files which is expensive
>
> It would have been nice if log4cxx issued a warning or error
> message if the value was set to a value outside the boundaries.

Actually, it does output a message to its own internal logging
mechanism. For obvious reasons Log4Cxx cannot log to itself, so has
its own internal logging mechanism (LogLog) which outputs to stderr.
If you look at stderr you should see a message that says:

Large window sizes are not allowed.

--

-- 
Dale King


Gmane