[slf4j-user] Displaying logger name in log

Chris Pratt thechrispratt at gmail.com
Wed Nov 9 17:59:33 CET 2022


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/slf4j-user/attachments/20221109/2634b9a0/attachment.html>


More information about the slf4j-user mailing list