Made default appender as FileAppender.
Added log4j.properties file
Added dependencies for log4j
Changed version of java compiler
Formatted xml
Changed java version to 1.7