If you reconfigure Log4j at runtime, you can switch over to a new
LoggerConfig without losing any messages. If you're holding direct
references to LoggerConfig, you should probably step back a level and get
that on demand instead.


On 25 August 2014 14:22, Clément Guillaume <cguilla...@hotpads.com> wrote:

> Hi,
>
> I would love to have a direct access to the target of a ConsoleAppender (as
> I can directly get the fileName of a FileAppender). Do you plan to
> implement this feature ? (and also for others properties like
> ConsoleAppender.isFollow or FileAppender.immediateFlush, ...)
>
>
> I also would love to be able to dynamically update thess properties. I
> don't think it is currently possible.
> Or at least I would like to be able to replace an Appender in the
> Configuration (by a new one) without removing the Appender from all the
> previously associated LoggerConfig.
>
> Regards,
>
> Clément
>



-- 
Matt Sicker <boa...@gmail.com>

Reply via email to