Feature #12502
closed
Option to include Syslog-ng Configuration Library (scl)
Added by Marco Rodriguez almost 3 years ago.
Updated over 1 year ago.
Description
Although the scl.conf
is present in /usr/local/etc/scl.conf
the associated referenced tree ( @include 'scl/*/*.conf'
) is missing. There is also no way add the line " @include 'scl.conf'
" to the syslog-ng.conf
file.
This folder tree and include line could make easier to use this package in more complex scenarios. (i.e. central syslog parsing and consolidation from all pfSense interfaces and secure forward to long term storage)
Proposal:
- Add scl folder tree to
/usr/local/etc
- Add "Include SCL" checkbox in "Advanced" tab that enables writing "
@include 'scl.conf'
" to the syslog-ng.conf
file just after the @version line.
Files
I didn't want to wait and did this:
--- /usr/local/pkg/syslog-ng.inc.orig 2023-03-02 02:24:31.145954000 +0100
+++ /usr/local/pkg/syslog-ng.inc 2023-03-02 02:25:04.311233000 +0100
@@ -214,6 +214,7 @@
$conf = "# This file is automatically generated by pfSense\n";
$conf .= "# Do not edit manually !\n";
$conf .= "@version:$syslog_ng_version\n";
+ $conf .= "@include \"scl.conf\"\n";
foreach ($objects as $object) {
if ($object['objecttype'] == 'log' || $object['objecttype'] == 'options') {
- Assignee set to Jim Pingle
- Status changed from New to In Progress
- Subject changed from Syslog-ng Configuration Library (scl) missing to Option to include Syslog-ng Configuration Library (scl)
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
Looks good in syslog-ng v1.16, radio box is present at bottom of config
- Status changed from Feedback to Resolved
Also available in: Atom
PDF