crashed log length checker, added log non-emptiness checker