checking in log4j.properties and adding some logs in controller