Working in both development and deployment environment, I want my log4j.properties to have include console appender, so I could view log messages when I develop. However when I deploy the application, I prefer to disable the console appender.
Is there a filter I can add on the console appender to do this?