[logback-user] logger name too long

Joud Kassem joud.kassem79 at gmail.com
Wed May 29 12:02:37 CEST 2019


Hi all,

I'm new to logback and I have the following question:

Is there a way to show only the left part of a logger name? like if I have
"liquibase.changelog.ChangeSet" logger, I need to show only liquibase in
the log.
In the log pattern the focus always on the right part not the left as I see
(%logger{36}).

If not, is there a way to rename a logger in a plugin? like in the
liquibase-core plugin, I want liquibase.changelog.ChangeSet to be
liquibase..

Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20190529/8aa91d95/attachment.html>


More information about the logback-user mailing list