Skip to content

Commit

Permalink
rename the "socket" argument
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbs committed Mar 13, 2019
1 parent e0a3852 commit 270c8fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Log/Dispatchouli.pm
Expand Up @@ -123,6 +123,7 @@ Valid arguments are:
fatal log messages will not be logged to these
(default: stderr)
config_id - a name for this logger's config; rarely needed!
syslog_socket - a value for Sys::Syslog's "socket" arg; default: "native"
The log path is either F</tmp> or the value of the F<DISPATCHOULI_PATH> env var.
Expand Down Expand Up @@ -202,7 +203,7 @@ sub new {
facility => $arg->{facility},
ident => $ident,
logopt => 'pid',
socket => $arg->{socket} || 'native',
socket => $arg->{syslog_socket} || 'native',
callbacks => sub {
( my $m = {@_}->{message} ) =~ s/\n/<LF>/g;
$m
Expand Down

0 comments on commit 270c8fb

Please sign in to comment.