Yes. For example I'd like to use a RoutingAppender configured with 
properties in my MapMessage, or generate structured JSON messages to an 
external logging system.

Le jeudi 10 janvier 2019 13:48:23 UTC+1, Jean-Baptiste Onofré a écrit :
>
> Hi Jérémis,
>
> You mean without marshalling to a "flat" log event ?
>
> Regards
> JB
> On 10/01/2019 13:44, Jérémie Brébec wrote:
>
> Hello, 
>
> I try to use a log4j2 logger to log some structured logs (like instances 
> of MapMessage). However, my message is lost and the appenders receive 
> instances of MutableLogEvent instead. In the execution trace, I can see a 
> Log4jv2Logger which discards my message by calling getFormattedMessage().
>
> Is this scenario supported by PaxLogging ? I have tested it with Karaf 
> 4.2.2.
>
> Regards,
> Jérémie
> -- 
> -- 
> ------------------
> OPS4J - http://www.ops4j.org - [email protected] <javascript:>
>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "OPS4J" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to