Removes some log statements.