log4j file is added and logging statement is added