
20 Dec
2010
20 Dec
'10
9:59 p.m.
You need to write && instead of &&. That's all... -----Original Message----- From: logback-user-bounces@qos.ch [mailto:logback-user-bounces@qos.ch] On Behalf Of Ed Bras Sent: Monday, December 20, 2010 3:52 PM To: logback-user@qos.ch Subject: [logback-user] AND in if condition ? I want to do something like this in my logback.xml configuration: <if condition='!property("app.environment").equals("dev") && !property("app.environment").equals("build")'> <then> ... But that doesn't work. How to define a "AND" in a if condition? Here can I find more examples about this syntax? Ed _______________________________________________ Logback-user mailing list Logback-user@qos.ch http://qos.ch/mailman/listinfo/logback-user