[logback-user] AND in if condition ?

Ed Bras zooi at debrasjes.com
Mon Dec 20 22:51:36 CET 2010


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



More information about the Logback-user mailing list