Project

General

Profile

Actions

Feature #12502

closed

Option to include Syslog-ng Configuration Library (scl)

Added by Marco Rodriguez over 2 years ago. Updated 10 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
syslog-ng
Target version:
-
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:
  1. Add scl folder tree to /usr/local/etc
  2. 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

clipboard-202306242332-gmfwm.png (7.44 KB) clipboard-202306242332-gmfwm.png Jordan G, 06/25/2023 04:32 AM
Actions #1

Updated by Wagner Sartori Junior about 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') {
Actions #2

Updated by Jim Pingle 12 months ago

  • Assignee set to Jim Pingle
Actions #3

Updated by Jim Pingle 12 months ago

  • Status changed from New to In Progress
Actions #4

Updated by Jim Pingle 12 months 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
Actions #5

Updated by Jordan G 11 months ago

Looks good in syslog-ng v1.16, radio box is present at bottom of config

Actions #6

Updated by Jim Pingle 10 months ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF