removes old logs