mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
FileLog: deactivate the actual file-deletion, as deleting a device may happen
accidentally, and there is no easy way to reclaim the lost data git-svn-id: https://svn.fhem.de/fhem/trunk@5068 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
2b449d5f9a
commit
1742cda838
@ -33,7 +33,7 @@ FileLog_Initialize($)
|
|||||||
$hash->{SetFn} = "FileLog_Set";
|
$hash->{SetFn} = "FileLog_Set";
|
||||||
$hash->{GetFn} = "FileLog_Get";
|
$hash->{GetFn} = "FileLog_Get";
|
||||||
$hash->{UndefFn} = "FileLog_Undef";
|
$hash->{UndefFn} = "FileLog_Undef";
|
||||||
$hash->{DeleteFn} = "FileLog_Delete";
|
#$hash->{DeleteFn} = "FileLog_Delete";
|
||||||
$hash->{NotifyFn} = "FileLog_Log";
|
$hash->{NotifyFn} = "FileLog_Log";
|
||||||
$hash->{AttrFn} = "FileLog_Attr";
|
$hash->{AttrFn} = "FileLog_Attr";
|
||||||
# logtype is used by the frontend
|
# logtype is used by the frontend
|
||||||
@ -84,6 +84,7 @@ FileLog_Undef($$)
|
|||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Unused
|
||||||
sub
|
sub
|
||||||
FileLog_Delete($$)
|
FileLog_Delete($$)
|
||||||
{
|
{
|
||||||
@ -1021,8 +1022,7 @@ FileLog_sampleDataFn($$$$$)
|
|||||||
This command is needed to create combined plots (weblinks).<br>
|
This command is needed to create combined plots (weblinks).<br>
|
||||||
<b>Notes:</b>
|
<b>Notes:</b>
|
||||||
<ul>
|
<ul>
|
||||||
<li>secondFileLog will be deleted (i.e. the FHEM definition and
|
<li>secondFileLog will be deleted (i.e. the FHEM definition).</li>
|
||||||
the file itself).</li>
|
|
||||||
<li>only the current files will be merged.</li>
|
<li>only the current files will be merged.</li>
|
||||||
<li>weblinks using secondFilelog will become broken, they have to be
|
<li>weblinks using secondFilelog will become broken, they have to be
|
||||||
adopted to the new logfile or deleted.</li>
|
adopted to the new logfile or deleted.</li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user