removing log cruft