Added java logging