Hi All, I've inserted new context - Logical Diagnostic Context (LDC), hope it will be inserted in the version. I find it very useful to be able trace calls across multiple threads, especially in web application that spawns multiple working threads or uses thread pool to execute work. LDC simply sets key in the CallContext and that key may be retrieved by logger in other thread. It works exactly as MDC. The pattern for LDC is '%ldc' or '%T'. Following files changes/added:
L:\LogSystem\log4net\Core\LoggingEvent.cs L:\LogSystem\log4net\Layout\Pattern\LdcPaternConverter.cs L:\LogSystem\log4net\Layout\PatternLayout.cs L:\LogSystem\log4net\LDC.cs Thanks, Ian
LoggingEvent.cs
Description: LoggingEvent.cs
LdcPaternConverter.cs
Description: LdcPaternConverter.cs
PatternLayout.cs
Description: PatternLayout.cs
LDC.cs
Description: LDC.cs
