From d900ffa7271d0b3299c0c4aa68f98b6eb1473a51 Mon Sep 17 00:00:00 2001 From: Nicolas Graziano Date: Wed, 12 Nov 2025 11:03:38 +0100 Subject: [PATCH] Correct examples for ExcludeSyslogFacility and ExcludeSyslogLevel ExcludeSyslogFacility and ExcludeSyslogLevel use space instead of comma. --- README.md | 6 +++--- doc/index.rst | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6ca3d87..690a418 100644 --- a/README.md +++ b/README.md @@ -125,8 +125,8 @@ Reload: `sudo systemctl reload systemd-netlogd.service` | `StructuredData=` | Custom SD-ID | None | `[app@12345]` | | `UseSysLogStructuredData=` | Extract from journal | `false` | `yes` | | `UseSysLogMsgId=` | Extract MSGID | `false` | `yes` | -| `ExcludeSyslogFacility=` | Skip facilities | None | `auth,authpriv` | -| `ExcludeSyslogLevel=` | Skip levels | None | `debug,info` | +| `ExcludeSyslogFacility=` | Skip facilities | None | `auth authpriv` | +| `ExcludeSyslogLevel=` | Skip levels | None | `debug info` | --- @@ -167,7 +167,7 @@ UseSysLogMsgId=yes ```ini [Network] Address=192.168.1.100:514 -ExcludeSyslogFacility=auth,authpriv +ExcludeSyslogFacility=auth authpriv ExcludeSyslogLevel=debug ``` diff --git a/doc/index.rst b/doc/index.rst index 7229a8e..708648f 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -136,7 +136,7 @@ Options are in the ``[Network]`` section. Reload changes: +--------------------+----------+-------------+-------------------------------------------------------------+ | ``UseSysLogMsgId=``| bool | ``false`` | Extract ``SYSLOG_MSGID`` from journal. | +--------------------+----------+-------------+-------------------------------------------------------------+ -| ``ExcludeSyslogFacility=`` | list | – | Skip facilities (e.g., ``auth,authpriv``). | +| ``ExcludeSyslogFacility=`` | list | – | Skip facilities (e.g., ``auth authpriv``). | +--------------------+----------+-------------+-------------------------------------------------------------+ | ``ExcludeSyslogLevel=`` | list | – | Skip levels (e.g., ``debug``). | +--------------------+----------+-------------+-------------------------------------------------------------+ @@ -214,7 +214,7 @@ TCP with Filtering [Network] Address=192.168.8.101:514 Protocol=tcp - ExcludeSyslogFacility=auth,authpriv + ExcludeSyslogFacility=auth authpriv ExcludeSyslogLevel=debug Using Structured Data and Message IDs