Log clearing on load/import