remove unnecessary log lines