Actions
Feature #12502
closedOption to include Syslog-ng Configuration Library (scl)
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
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 thesyslog-ng.conf
file just after the @version line.
Files
Updated by Wagner Sartori Junior over 1 year ago
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') {
Updated by Jim Pingle over 1 year ago
- 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
Implemented in pkg version 1.16: https://github.com/pfsense/FreeBSD-ports/commit/d848b6da1957d728a867b9010ed3795d946b68c4
Updated by Jordan G over 1 year ago
Looks good in syslog-ng v1.16, radio box is present at bottom of config
Actions