Details
-
New Feature
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
None
Description
See http://qos.ch/pipermail/logback-dev/2009-March/003867.html
I'd like to use the LoggerContext properties for filtering purposes.
At the moment, both my Lilith multiplex-appenders contain support for an ApplicationIdentifier.
In case of LoggingEvent, I changed the behavior of this property. It is now, if set, put into the properties of the LoggerContext.
This isn't possible in case of AccessEvent because I can't access it's context, yet.
The primary use of this property is ease of use while filtering events. While it would certainly be possible to deduce information about the logging application, it's easier and less error prone to simply use a manual identifier.
My application identifier was a bit short-sighted so I'd like to just use any logger context properties for filtering.
Thanks in advance,
Joern.