removing log lines