Update legacy.rst (#608)

* Update legacy.rst

Comments on syslog-ng use

* Update source/development/backend/legacy.rst

Co-authored-by: Ad Schellevis <AdSchellevis@users.noreply.github.com>

---------

Co-authored-by: Ad Schellevis <AdSchellevis@users.noreply.github.com>
This commit is contained in:
Volodymyr Paprotski 2024-09-26 11:21:06 -04:00 committed by GitHub
parent 3a7abc493b
commit 07ee32effa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -289,12 +289,14 @@ To test if a service registration functions properly, just restart the syslog fa
.. Note::
In order to define local targets for Syslog-NG you can just add **local** filters which will be collected into
In order to define local targets for Syslog-NG you can just add **local** filters (e.g. by creating
:code:`src/opnsense/service/templates/OPNsense/Syslog/local/helloworld.conf`) which will be collected into
one large syslog configuration.
The readme on `GitHub <https://github.com/opnsense/core/blob/master/src/opnsense/service/templates/OPNsense/Syslog/local/README>`__
describes the process.
When running into issues, always make sure to manually restart syslog-ng first (:code:`service syslog-ng restart`), definition errors won't
be written into any log.
be written into any log. You will also have to restart the plugin (:code:`pluginctl -s syslog-ng restart`) for the syslog-ng configuration
files to be regenerated.
.. Note::