[JDK 11] RFR: 8195096: Exception printed on console with custom LogManager on starting Apache Tomcat
daniel.fuchs at oracle.com
Thu Jan 18 15:12:27 UTC 2018
Please find below a proposed fix for:
8195096: Exception printed on console with custom LogManager on
starting Apache Tomcat
The issue appeared after the fix for
8191033: Regression in logging.properties: specifying .handlers=
for root logger (instead of handlers=) no longer works
Tomcat is apparently reusing the ".handlers" property, to specify
class names in a format that the LogManager cannot understand
(hence the exceptions logged on the console).
The proposed fix is to add a protected hook that subclass of
LogManager could extend to turn off parsing of the ".handler"
More information about the core-libs-dev