Thanks Chris. I will try this.

On Wed, Nov 9, 2022 at 10:29 PM Chris Pratt <thechrispr...@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.ma...@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@qos.ch
>> https://mailman.qos.ch/cgi-bin/mailman/listinfo/slf4j-user
>
> _______________________________________________
> slf4j-user mailing list
> slf4j-user@qos.ch
> https://mailman.qos.ch/cgi-bin/mailman/listinfo/slf4j-user
_______________________________________________
slf4j-user mailing list
slf4j-user@qos.ch
https://mailman.qos.ch/cgi-bin/mailman/listinfo/slf4j-user

Reply via email to