Added debug print for Database logging.