Dicriminate between regular end and abort of queries in the logfile.