Menu

#1183 PMD gives FINE level log messages if Java logging enabled

New Tickets
more-info-needed
None
PMD
4-Minor
Bug
5.0.5-1
2014-04-29
2014-04-06
No

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).

Related

Issues: #1182

Discussion

  • Andreas Dangel

    Andreas Dangel - 2014-04-29
    • status: open --> more-info-needed
    • assigned_to: Andreas Dangel
     
  • Andreas Dangel

    Andreas Dangel - 2014-04-29

    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 = FINE

    Then I see FINE log messages, even though the global log level is on "INFO".

    Is this the problem you see?

    Regards,
    Andreas

     

Log in to post a comment.

Auth0 Logo