This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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.