mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-29 05:24:10 +00:00
92_FileLog.pm: no set for fakelog (Forum #95351)
git-svn-id: https://svn.fhem.de/fhem/trunk@18142 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
20e8f11978
commit
867b87657c
@ -269,6 +269,8 @@ FileLog_Set($@)
|
|||||||
my ($hash, @a) = @_;
|
my ($hash, @a) = @_;
|
||||||
my $me = $hash->{NAME};
|
my $me = $hash->{NAME};
|
||||||
|
|
||||||
|
return undef if( $hash->{REGEXP} eq 'fakelog' );
|
||||||
|
|
||||||
return "no set argument specified" if(int(@a) < 2);
|
return "no set argument specified" if(int(@a) < 2);
|
||||||
my %sets = (reopen=>0, clear=>0, absorb=>1, addRegexpPart=>2,
|
my %sets = (reopen=>0, clear=>0, absorb=>1, addRegexpPart=>2,
|
||||||
removeRegexpPart=>1);
|
removeRegexpPart=>1);
|
||||||
@ -409,6 +411,7 @@ FileLog_fhemwebFn($$$$)
|
|||||||
}
|
}
|
||||||
$ret .= "</table>";
|
$ret .= "</table>";
|
||||||
return $ret if($pageHash);
|
return $ret if($pageHash);
|
||||||
|
return $ret if( $defs{$d}{REGEXP} eq 'fakelog' );
|
||||||
|
|
||||||
# DETAIL only from here on
|
# DETAIL only from here on
|
||||||
my $hash = $defs{$d};
|
my $hash = $defs{$d};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user