open(LOGFILE, ">>$self->{logfile}") or die "Cannot open logfile";