mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-28 11:01:59 +00:00
92_FileLog.pm: add "set addRegexPart" to the "save ?" list (Forum #127776)
git-svn-id: https://svn.fhem.de/fhem/trunk@26084 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
47ada9979c
commit
b19d983b3f
@ -498,6 +498,7 @@ FileLog_Set($@)
|
|||||||
$hash->{REGEXP} = $re;
|
$hash->{REGEXP} = $re;
|
||||||
$hash->{DEF} = $hash->{logfile} ." $re";
|
$hash->{DEF} = $hash->{logfile} ." $re";
|
||||||
notifyRegexpChanged($hash, $re);
|
notifyRegexpChanged($hash, $re);
|
||||||
|
addStructChange("set", $me, join(" ", @a));
|
||||||
|
|
||||||
} elsif($cmd eq "removeRegexpPart") {
|
} elsif($cmd eq "removeRegexpPart") {
|
||||||
my %h;
|
my %h;
|
||||||
@ -512,6 +513,7 @@ FileLog_Set($@)
|
|||||||
$hash->{REGEXP} = $re;
|
$hash->{REGEXP} = $re;
|
||||||
$hash->{DEF} = $hash->{logfile} ." $re";
|
$hash->{DEF} = $hash->{logfile} ." $re";
|
||||||
notifyRegexpChanged($hash, $re);
|
notifyRegexpChanged($hash, $re);
|
||||||
|
addStructChange("set", $me, join(" ", @a));
|
||||||
|
|
||||||
} elsif($cmd eq "absorb") {
|
} elsif($cmd eq "absorb") {
|
||||||
my $victim = $a[2];
|
my $victim = $a[2];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user