Re: [logback-user] Conditional Processing using MDC key/value pairs

2012-05-24 Thread ceki
Hi Shane, Apologies for my previous empty message sent by error. More below. On 15.05.2012 15:01, Shane Kelly wrote: [snip] Why do I want to do this? Well, in this instance I have a small web-app consisting of a number of servlets. The servlets are stateless/sessionless - they service individ

Re: [logback-user] Conditional Processing using MDC key/value pairs

2012-05-24 Thread ceki
On 15.05.2012 15:01, Shane Kelly wrote: Folks, Just wondering if it is possible to perform conditional processing in Logback by inspecting the MDC for the presence of and/or value of certain keys. The documentation states "The condition is a Java expression in which only context properties or sy

Re: [logback-user] Conditional Processing using MDC key/value pairs

2012-05-15 Thread Shane Kelly
Correction: ... [%X{AssetTracker-UUID}] ... Should read: ... [%X{MyApp-UUID}] ... ___ Logback-user mailing list Logback-user@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-user

[logback-user] Conditional Processing using MDC key/value pairs

2012-05-15 Thread Shane Kelly
Folks, Just wondering if it is possible to perform conditional processing in Logback by inspecting the MDC for the presence of and/or value of certain keys. The documentation states "The condition is a Java expression in which only context properties or system properties are accessible" Which "con