sanity logging