Clean log when re-reading xml