add logger to DAO