If you've ever used the built-in logging facilities introduced in JDK 1.4, you've certainly faced a situation wherein you wanted to prevent log messages from appearing on the console. The quickest way to accomplish this is to change the logger settings in J2SE installation directory:
- Locate file <J2SE_INSTALL_DIR>\jre\lib\logging.properties.
- Find the following configuration parameter:
java.util.logging.ConsoleHandler.level = INFO
- Replace it with the following string:
java.util.logging.ConsoleHandler.level = OFF