Re: Let SLF4J do the Log4j2 Message formatting as needed

2023-08-16 Thread Volkan Yazıcı
Hello Benjamin, Are you subscribed to the `dev@` mailing list? If not, you won't be able to see responses of others; just like the one from Piotr which I am sharing below. Kind regards. On Thu, Aug 10, 2023 at 6:23 PM Piotr P. Karwasz wrote: > Hi Benjamin, > > On Thu, 10 Aug 2023 at 14:45, Ben

Re: Let SLF4J do the Log4j2 Message formatting as needed

2023-08-10 Thread Piotr P. Karwasz
Hi Benjamin, On Thu, 10 Aug 2023 at 14:45, Benjamin Krahl wrote: > > Currently SLF4JLogger in Log4j 2 will format all messages before it passes > these to SLF4J. I think this does not need to be the case. > > SLF4J FAQ states that: > "Assuming comp

Let SLF4J do the Log4j2 Message formatting as needed

2023-08-10 Thread Benjamin Krahl
Currently SLF4JLogger in Log4j 2 will format all messages before it passes these to SLF4J. I think this does not need to be the case. SLF4J FAQ states that: "Assuming complexObject is an object of certain complexity, for a log statement of level DEB