Add log4j sample in Java