deleted xx_write_log_to_db