[slf4j-user] Displaying logger name in log
Debraj Manna
subharaj.manna at gmail.com
Thu Nov 10 05:28:36 CET 2022
Thanks Chris. I will try this.
On Wed, Nov 9, 2022 at 10:29 PM Chris Pratt <thechrispratt at gmail.com> wrote:
> I believe you can use %c in your logger pattern to output the logger
> name. Check out https://logback.qos.ch/manual/layouts.html#conversionWord
> for more information.
> (*Chris*)
>
> On Wed, Nov 9, 2022 at 4:56 AM Debraj Manna <subharaj.manna at gmail.com>
> wrote:
>
>> I am using logback with SLF4J. Can someone let me know how can I also
>> display the logger name along with the log message?
>> _______________________________________________
>> slf4j-user mailing list
>> slf4j-user at qos.ch
>> https://mailman.qos.ch/cgi-bin/mailman/listinfo/slf4j-user
>
> _______________________________________________
> slf4j-user mailing list
> slf4j-user at qos.ch
> https://mailman.qos.ch/cgi-bin/mailman/listinfo/slf4j-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/slf4j-user/attachments/20221110/0cc3c80e/attachment.html>
More information about the slf4j-user
mailing list