The patient, the logfile and the law