DevIo.pm: add devioLogLevel to second open (Forum #61970)
git-svn-id: https://svn.fhem.de/fhem/trunk@24175 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -413,7 +413,8 @@ DevIo_OpenDev($$$;$)
|
||||
}
|
||||
|
||||
$hash->{PARTIAL} = "";
|
||||
Log3 $name, 3, ($hash->{DevioText} ? $hash->{DevioText} : "Opening").
|
||||
my $l = $hash->{devioLoglevel}; # Forum #61970
|
||||
Log3 $name, ($l ? $l:3), ($hash->{DevioText} ? $hash->{DevioText} : "Opening").
|
||||
" $name device ". (AttrVal($name,"privacy",0) ? "(private)" : $dev)
|
||||
if(!$reopen);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user