https://bz.apache.org/bugzilla/show_bug.cgi?id=66184
Bug ID: 66184
Summary: Null root logger level on Java 8
Product: Tomcat 8
Version: 8.5.x-trunk
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: JULI
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ----
The constructor `java.util.logging.LogManager$RootLogger` in OpenJDK 8 no
longer sets the log level. This causes the following test to fail:
Logger current = ...;
while (current.getLevel() == null && current.getParent() != null) {
current = current.getParent();
}
assertNotNull(current.getLevel());
As far as I understand the `java.util.logging.Logger` contract forbids both
`getLevel()` and `getParent()` to return a null value.
Steps to reproduce:
* create an application with a `logging.properties` file without a `.level`
property.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]