logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dale King" <dalewk...@gmail.com>
Subject Re: Accessing a LoggingEvent's properties using a PatternLayout
Date Mon, 22 Sep 2008 13:52:10 GMT
On Mon, Sep 22, 2008 at 1:10 AM, Adam Woods <adam.woods@rwwa.com.au> wrote:

>
>
> Also, there does not seem to be any APIs in LoggingEvent which allow you
> to insert into the MDC.
>
>
MDC is local to the thread, not the logging event. The API to interact with
the MDC are the static methods on the log4cxx::MDC class.

-- 
Dale King

Mime
View raw message