Debug logging, reset pending changes