Skip to main content

JDK 7.0 doesn't refresh handler for specific logger

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2013-09-06

In JDK 7.0, I use java.util.logging framework, and I defined "test.try.logger.handler=java.util.FileHandler", it works at the first time, but after I changed some properties in file(change logger level for some loggers), and call "readConfiguration()" method to make my changes work. But after I call this method, the handlers defined for specific logger are closed, and no way to start them in I think it is weird that after refresh, the handlers defined for specific loggers don't work any more. Is there a work around for this?