pull out stuff from centraldatabasedao to prepare better logging.
pull out stuff from centraldatabasedao to prepare better logging.