7096170: should remove unused support for enabling javac logging

Reviewed-by: jjg
This commit is contained in:
Alexander Zuev 2013-10-04 19:38:55 +04:00
parent dd031ed38f
commit bb40243d1a

View File

@ -1743,13 +1743,4 @@ public class JavaCompiler {
shouldStopPolicyIfError = prev.shouldStopPolicyIfError;
shouldStopPolicyIfNoError = prev.shouldStopPolicyIfNoError;
}
public static void enableLogging() {
Logger logger = Logger.getLogger(com.sun.tools.javac.Main.class.getPackage().getName());
logger.setLevel(Level.ALL);
for (Handler h : logger.getParent().getHandlers()) {
h.setLevel(Level.ALL);
}
}
}