Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
1.5.0
-
None
-
None
Description
enableLogForwarding() doesn't hold to the created loggers that can be garbage collected and all configuration changes will be gone. From https://docs.oracle.com/javase/6/docs/api/java/util/logging/Logger.html javadocs: It is important to note that the Logger returned by one of the getLogger factory methods may be garbage collected at any time if a strong reference to the Logger is not kept.
All created logger references need to be kept, e.g. in static variables.