diff --git a/fhem/FHEM/98_autocreate.pm b/fhem/FHEM/98_autocreate.pm index 8899c086a..51176febd 100644 --- a/fhem/FHEM/98_autocreate.pm +++ b/fhem/FHEM/98_autocreate.pm @@ -341,7 +341,7 @@ autocreate_Notify($$) my $fh = new IO::File ">>$hash->{currentlogfile}"; $hash->{FH} = $fh; } else { - Log 1, "$oldfile or $hash->{currentfile}: $!"; + Log 1, "$oldfile or $hash->{currentlogfile}: $!"; close(IN); } }