Fixed the initialization of Java logging.