Remove unnecessary log statements.