Revision eeb52fea
Added by Warren Baker over 14 years ago
etc/inc/system.inc | ||
---|---|---|
458 | 458 |
$separatelogfacilities = $separatelogfacilities + $pkgfacilities; |
459 | 459 |
$facilitylist = implode(',', $pkgfacilities); |
460 | 460 |
mwexec("{$log_create_directive} 10240 {$g['varlog_path']}/{$package['logging']['logfilename']}"); |
461 |
$syslogconf .= "!{$facilitylist}\n*.*\t\t\t\t\t\t {$log_directive}{$g['varlog_path']}/{$package['logging']['logfilename']}\n";
|
|
461 |
$syslogconf .= "!{$package['logging']['facilityname']}\n*.*\t\t\t\t\t\t {$log_directive}{$g['varlog_path']}/{$package['logging']['logfilename']}\n";
|
|
462 | 462 |
} |
463 | 463 |
} |
464 | 464 |
} |
... | ... | |
1479 | 1479 |
return file_get_contents("{$g['varlog_path']}/dmesg.boot"); |
1480 | 1480 |
} |
1481 | 1481 |
|
1482 |
?> |
|
1482 |
?> |
Also available in: Unified diff
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.