mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-19 17:20:42 +01:00
imudp: add error msg when listener wasn't created
When udp listener could not be created, an error message containing the ip-address and port is put out. closes https://github.com/rsyslog/rsyslog/issues/1899
This commit is contained in:
parent
436c195d0f
commit
145e6b4d0c
@ -351,6 +351,10 @@ addListner(instanceConf_t *inst)
|
||||
lcnfLast = newlcnfinfo;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
errmsg.LogError(0, NO_ERRCODE, "imudp: Could not create udp listener,"
|
||||
" ignoring port %s bind-address %s.",
|
||||
port, bindAddr);
|
||||
}
|
||||
|
||||
finalize_it:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user