
12 Jun
2012
12 Jun
'12
6:17 p.m.
Hello I have an application that has an mdc variable. How can I make a proper filter, so that if variable = test, all such output goes to one file, and to another file if variable is anything else? I tried the following (not sure how to go from there even if it worked though): <expression> mdc?.get("variable") ~= /test/ </expression> but the result is ERROR in ch.qos.logback.classic.boolex.JaninoEventEvaluator@7d55b9f - Could not start evaluator with expression [mdc?.get("variable") ~= /test/ )] Any suggestions? Thanks