Converted the logging.
logging and dao changes