Delete the diagnostic log if deleteWebRoot flag is passed