2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

92_FileLog.pm: fix for the eventOnThreshold feature (Forum #56051)

git-svn-id: https://svn.fhem.de/fhem/trunk@11921 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-08-08 08:37:09 +00:00
parent 9e6c27d5f0
commit f3c698de5a

View File

@ -158,6 +158,7 @@ FileLog_Switch($)
return 0;
}
$log->{FH} = $fh;
setReadingsVal($log, "linesInTheFile", 0, TimeNow());
return 1;
}
return 0;