cleaning up log entries