I need to enable logging for some JDK7 internal class programmatically.
This is what I do in the initialization of my application:
httpLogger = Logger.ge
You have to read it first what is saying.
the PlatformLogger API can be used if the logging module does not exist
Well the if you want to use that API you than use following import statement.
import sun.util.logging.PlatformLogger;
Above is the complete reference to your destination.
For Further Reference Visit BUG Tracking of Java