mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 23:06:37 +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->{GetFn} = "FileLog_Get";
|
||||
$hash->{UndefFn} = "FileLog_Undef";
|
||||
$hash->{DeleteFn} = "FileLog_Delete";
|
||||
#$hash->{DeleteFn} = "FileLog_Delete";
|
||||
$hash->{NotifyFn} = "FileLog_Log";
|
||||
$hash->{AttrFn} = "FileLog_Attr";
|
||||
# logtype is used by the frontend
|
||||
@ -84,6 +84,7 @@ FileLog_Undef($$)
|
||||
return undef;
|
||||
}
|
||||
|
||||
# Unused
|
||||
sub
|
||||
FileLog_Delete($$)
|
||||
{
|
||||
@ -1021,8 +1022,7 @@ FileLog_sampleDataFn($$$$$)
|
||||
This command is needed to create combined plots (weblinks).<br>
|
||||
<b>Notes:</b>
|
||||
<ul>
|
||||
<li>secondFileLog will be deleted (i.e. the FHEM definition and
|
||||
the file itself).</li>
|
||||
<li>secondFileLog will be deleted (i.e. the FHEM definition).</li>
|
||||
<li>only the current files will be merged.</li>
|
||||
<li>weblinks using secondFilelog will become broken, they have to be
|
||||
adopted to the new logfile or deleted.</li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user