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:
rudolfkoenig
2021-04-07 17:45:02 +00:00
parent f8eaed81a0
commit 9217e20649

View File

@@ -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);