unless (open(LOG, ">>", $logfile))  {     print "Konnte Logfile nicht oeffnen: $!";     exit 1;    }