Fix remote logfile parsing. Thanks to Herve Werner for the report.