Lines 443-452
Link Here
|
443 |
# socket of 'none' means as much as --syslog=null. Sounds complicated? It is. |
443 |
# socket of 'none' means as much as --syslog=null. Sounds complicated? It is. |
444 |
# But it works. |
444 |
# But it works. |
445 |
# ) |
445 |
# ) |
446 |
my $log_socket = lc($opt{'syslog-socket'}); |
446 |
my $log_socket = $opt{'syslog-socket'}; |
447 |
|
447 |
|
448 |
if (!defined $log_socket || $log_socket eq '') { |
448 |
if (!defined $log_socket || $log_socket eq '') { |
449 |
$log_socket = am_running_on_windows() ? 'none' : 'unix'; |
449 |
$log_socket = am_running_on_windows() ? 'none' : 'unix'; |
|
|
450 |
} else { |
451 |
$log_socket = lc $log_socket; |
450 |
} |
452 |
} |
451 |
|
453 |
|
452 |
# This is the default log file; it can be changed on the command line |
454 |
# This is the default log file; it can be changed on the command line |