Fixed the unecessary image loading
fixed error in log4j.xml