mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 23:06:37 +00:00
93_Log2Syslog: V4.6.0
git-svn-id: https://svn.fhem.de/fhem/trunk@17114 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
6494065fb1
commit
369be53e9f
@ -300,7 +300,7 @@ sub Log2Syslog_initServer($) {
|
||||
if(!$hash->{SERVERSOCKET}) {
|
||||
my $err = "Can't open Syslog Collector at $port: $!";
|
||||
Log3 ($hash, 1, "Log2Syslog $name - $err");
|
||||
ReadingsSingleUpdateValue ($hash, 'state', $err, 1);
|
||||
readingsSingleUpdate ($hash, 'state', $err, 1);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -312,7 +312,7 @@ sub Log2Syslog_initServer($) {
|
||||
$hash->{INTERFACE} = $lh?$lh:"global";
|
||||
|
||||
Log3 ($hash, 3, "Log2Syslog $name - port $hash->{PORT}/$protocol opened for Syslog Collector on interface \"$hash->{INTERFACE}\"");
|
||||
ReadingsSingleUpdateValue ($hash, "state", "initialized", 1);
|
||||
readingsSingleUpdate ($hash, "state", "initialized", 1);
|
||||
delete($readyfnlist{"$name.$port"});
|
||||
$selectlist{"$name.$port"} = $hash;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user