Create LogAgent.java