cleaning out log