[logback-user] Encoder definition not shareable

Ceki Gulcu ceki at qos.ch
Fri Mar 4 16:55:11 UTC 2016


Hi Stevo,

Indeed Joran (logback's) configuration parser does not support 
definition sharing. Could you please create a jira issue asking for this 
feature?

--
Ceki

On 3/4/2016 15:48, Stevo Slavić wrote:
> Hello Logback community,
>
> Please correct me if wrong, but it doesn't seem possible to share
> encoder definition in multiple appenders.
>
> I guess there is a reason why encoder instances cannot be shared, but
> wouldn't it be possible to support at least sharing definition?
>
> Now I have to resort to copy-pasting same encoder definition multiple
> times which is suboptimal, not DRY.
>
> Kind regards,
> Stevo Slavic.
>
>
> _______________________________________________
> logback-user mailing list
> logback-user at qos.ch
> http://mailman.qos.ch/mailman/listinfo/logback-user
>


More information about the logback-user mailing list