If you need to wrap the message then you should create a pattern converter. 

Ralph

> On Jan 8, 2020, at 5:23 AM, Buks van der Lingen <buks...@gmail.com> wrote:
> 
> Hi,
> I have a need to wrap the message created by the PatternLayout assigned to my 
> KafkaAppender and pass that to the KafkaManager.
> 
> The wrapper contains Spring-Boot environment/Build and other properties.
> 
> The KafkaManager is private in the appender and I can’t get around the 
> implementation at append();
> For now I duplicated the KafkaAppender and just added the functionality I 
> need in append();
> 
> If anyone has a better idea pls advise?
> 
> Kind Regards,
> Buks
> 
> Sent from Mail for Windows 10
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org

Reply via email to