diff options
author | Warren Baker <warren@decoy.co.za> | 2010-12-02 16:56:14 +0200 |
---|---|---|
committer | Warren Baker <warren@decoy.co.za> | 2010-12-02 16:56:14 +0200 |
commit | eeb52fea1028126cc9150810b63fd0c8a8a0b24b (patch) | |
tree | 8833f54d0beb14dea8c8a961b974785375873fb2 | |
parent | a2ff08f8c113f36487e5cac89de62b0eee323209 (diff) | |
download | pfsense-eeb52fea1028126cc9150810b63fd0c8a8a0b24b.zip pfsense-eeb52fea1028126cc9150810b63fd0c8a8a0b24b.tar.gz |
Syslog.conf would end up with multiple pkg facility names on the same line. So multiple pkgs with logging enabled would end up with the previous pkg prepended to its syslog entry.
-rw-r--r-- | etc/inc/system.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 90ff22b..f949c3b 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -458,7 +458,7 @@ function system_syslogd_start() { $separatelogfacilities = $separatelogfacilities + $pkgfacilities; $facilitylist = implode(',', $pkgfacilities); mwexec("{$log_create_directive} 10240 {$g['varlog_path']}/{$package['logging']['logfilename']}"); - $syslogconf .= "!{$facilitylist}\n*.*\t\t\t\t\t\t {$log_directive}{$g['varlog_path']}/{$package['logging']['logfilename']}\n"; + $syslogconf .= "!{$package['logging']['facilityname']}\n*.*\t\t\t\t\t\t {$log_directive}{$g['varlog_path']}/{$package['logging']['logfilename']}\n"; } } } @@ -1479,4 +1479,4 @@ function system_get_dmesg_boot() { return file_get_contents("{$g['varlog_path']}/dmesg.boot"); } -?>
\ No newline at end of file +?> |