Log sanity check