> I'll play with that again, since my ContextLogger really shouldn't be a
> LogImpl, but just a helper that adds more info to the log string.

Perhaps you can simply use the ThreadContext to store the additional
infos? You could store your additional infos like this:

log4net.ThreadContext.Properties["hallo"] = "world";

<layout type="log4net.Layout.PatternLayout">
        <conversionPattern value="%logger (%property{hallo}) [%level]-
message%newline" />
      </layout>

Reply via email to