Updated DAO and log4.xml