Not my call but adding addInitialRootLoggerHandlers() seems too much like a private detail that would be forever published as part of the public API.
I would rather have have a protected reportError added to LogManager and redirect all internal errors from directly calling System.err to that method. Then sub-classes could override that method and ignore internal errors generated by the super class. Jason ________________________________________ From: core-libs-dev <core-libs-dev-boun...@openjdk.java.net> on behalf of Mark Thomas <ma...@apache.org> Sent: Friday, January 19, 2018 2:56 PM To: core-libs-dev@openjdk.java.net Subject: Re: [JDK 11] RFR: 8195096: Exception printed on console with custom LogManager on starting Apache Tomcat On 19/01/18 20:14, Mark Thomas wrote: <snip/> > Thanks to both of you for the hints that have got me thinking in new > directions for a workaround. Thanks again for the hints. I have a work-around that seems to work: https://svn.apache.org/viewvc?view=revision&revision=1821708 It feels a bit hacky. I'd still prefer to be able to override addInitialRootLoggerHandlers() as that strikes me as a cleaner solution. Cheers, Mark