PMD gives FINE level log messages if Java logging enabled
A source code analyzer
Brought to you by:
adangel,
juansotuyo
If Java logging is enabled in the PMD Ant task via the setting the env var ANT_OPTS to -Djava.util.logging.config.file=[path], then PMD will give FINE level logging messages, even though the logging config file gives INFO as the global logging level. It didn't used to do this, even though the PMD version I'm using hasn't changed (still 5.0.5-1). It might be that the package ant-testutil, on which PMD depends, has changed (it's currently at version 1.9.2-7).
Hi,
could you please double check on which log level the ConsoleHandler is configured?
I tried to reproduce your issue, but I could only see FINE log messages, if I have configured this:
java.util.logging.ConsoleHandler.level = FINEThen I see FINE log messages, even though the global log level is on "INFO".
Is this the problem you see?
Regards,
Andreas