Remove log entries even when not writing to the file