Added java logging.