Bug 57363 - Cannot check or debug reading of configuration file -Djava.util.logging.config.file=logging.props
Cannot check or debug reading of configuration file -Djava.util.logging.confi...
Product: Tomcat 8
Classification: Unclassified
Component: Catalina
PC All
: P2 normal (vote)
: ----
Assigned To: Tomcat Developers Mailing List
Depends on:
  Show dependency tree
Reported: 2014-12-17 10:50 UTC by M.Both
Modified: 2014-12-20 19:44 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description M.Both 2014-12-17 10:50:20 UTC
Setting the Java system property 
we can see if ClassLoaderLogManager is reading or isn't reading the logging.properties in the class path.
But we don't see if the ClassLoaderLogManager can read the file specified by
Even every exeption is ignored. No information is left.
In my case I wasted many hours to figure out why my logging configuration
does not work. It would be very very helpful seeing an error message
if the file specified by Djava.util.logging.config.file cannot read
by tomcat ClassLoaderLogManager.
Martin Both
Comment 1 Mark Thomas 2014-12-20 19:44:19 UTC
Error message and stracktrace now logged to stderr.

This fix has been applied to trunk, 8.0.x (for 8.0.16 onwards) and 7.0.x (for 7.0.58 onwards).