You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
simonelbaz
changed the title
log_socket_type parameter should allow hash input
log_socket_type parameter should allow host, port, timeout options
May 13, 2024
Hello,
I need to pass %option as mentionned in https://perldoc.perl.org/Sys::Syslog#setlogsock().
It would allow sending logs to remote host, port and timeout.
Expected Behavior
"inet" value should allow host, port, timeout options.
Current Behavior
log_socket_type is checked against the following regex: if ($self->{_socket_type} =~ /^(unix|inet)$/i) {.
It is not useful for "inet" socket used towards remote servers.
Possible Solution
log_socket_type parameter should allow hash input.
Regards
The text was updated successfully, but these errors were encountered: