Remove unnecessary log lines