Added db->log snippet