Setting the Java system property -Dorg.apache.juli.ClassLoaderLogManager.debug=true 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 -Djava.util.logging.config.file=log.props 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. Thanks Martin Both
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).