Confirm syslog is enabled.
This commit is contained in:
parent
7ff501d8dc
commit
05a74f95c7
@ -87,6 +87,8 @@ sub new {
|
||||
if($@) {
|
||||
$obj -> {"syslog"} = 0;
|
||||
$obj -> warn_log(undef, "Unable to conenct to syslog: $@");
|
||||
} else {
|
||||
syslog(LOG_INFO, "Syslog started");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user