logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: DefaultRolloverStrategy.createStrategy - access the appender
Date Sat, 08 Oct 2016 03:50:18 GMT
I don't quite see how to do that without inventing some kind of build
context object that gets passed around. Any one else?


On Fri, Oct 7, 2016 at 2:43 PM, Benjamin Jaton <benjamin.jaton@gmail.com>

> Hello,
> When configuring the rollover strategy for an appender, is there a way to
> access the name of the appender from this method:
> DefaultRolloverStrategy.createStrategy ?
> I'm trying to write my own and I could use that name for my implementation.
> Thanks,
> Benjamin

E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

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