Re: Rendered Messages in Log4J 2

2017-12-26 Thread Matt Sicker
Isn't the Category class now called ExtendedLogger? If you're looking for customization of the log message output, then yes, the Message API is perfect for this (and would even work with logback or other logging libraries). On 25 December 2017 at 13:02, Ralph Goers wrote: > Based on what I am s

Re: Rendered Messages in Log4J 2

2017-12-25 Thread Ralph Goers
Based on what I am seeing of how Log4j 1 makes use of RendererSupport, the equivalent functionality is provided by the Message objects in Log4j 2. Each Message must implement a getFormattedMessage method to render the message contents more or less in the same way that Log4j 1 uses the RendererMa

Rendered Messages in Log4J 2

2017-12-25 Thread Praveen Kumar Gunasekaran
Hi, During the Log4j2 migration from Log4J 1.2.15, need suggestions on the below classes, org.apache.log4j.Category org.apache.log4j.spi.LoggerRepository org.apache.log4j.spi.RendererSupport We use the above classes to handle the Rendered Action and Cause Messages, for ex: LoggerRepository repo