Extracting logfile gives an error