This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
when i write log.info("") it's also written into the file with Treshold=DEBUG . Is it possible to get it configured so that in file with Treshold=DEBUG only these messages appear that are the result of a log.debug("").
If you must absolutely filter events by exact match, then you can attach a LevelMatchFilter to a given appender in order to filter out logging events by exact level match. The LevelMatchFilter is an instance of a custom filter. ... Note that the PropertyConfigurator does not support custom filters which can only be specified in configuration scripts expressed in XML format.