removing log file write