Hmmm... Never figured it's that simple :( Thanks for the tip.. > -----Original Message----- > From: [email protected] [mailto:[email protected]] > On Behalf Of Roberts, David > Sent: maandag 20 december 2010 23:00 > To: logback users list > Subject: Re: [logback-user] AND in if condition ? > > You need to write && instead of &&. That's all... > > -----Original Message----- > From: [email protected] [mailto:[email protected]] > On Behalf Of Ed Bras > Sent: Monday, December 20, 2010 3:52 PM > To: [email protected] > 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 > [email protected] > http://qos.ch/mailman/listinfo/logback-user > _______________________________________________ > Logback-user mailing list > [email protected] > http://qos.ch/mailman/listinfo/logback-user
_______________________________________________ Logback-user mailing list [email protected] http://qos.ch/mailman/listinfo/logback-user
