[logback-user] Why are encoder-less appenders not consistently allowed?

Stuart Rossiter stuart.p.rossiter at gmail.com
Fri Apr 19 17:00:03 CEST 2013


On 19 April 2013 13:58, diroussel <nabble at diroussel.xsmail.com> wrote:

> Stuart,
>
> If you do one simulation per thread, then you can put what you need in a
> ThreadLocal, then use a Custome Converter to read from the ThreadLocal and
> get the SimTime.
>
> See http://logback.qos.ch/manual/layouts.html#customConversionSpecifier
>
>
David,

 Ah, yes, nice. ThreadLocal use would avoid the issue of not having access
to per-simulation objects from outside the simulation. I'll have a look at
refactoring to that when I have some time. Thanks,

Stuart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20130419/288099fb/attachment.html>


More information about the Logback-user mailing list