Added Java logging