OPNsense Forum

English Forums => General Discussion => Topic started by: verfluchten on November 06, 2024, 06:13:04 PM

Title: Do syslog-ng and syslogd services have to run at all times?
Post by: verfluchten on November 06, 2024, 06:13:04 PM
Having collected some syslog entries and gone through them, I established that I do not need remote syslog for my router and disabled the remote syslog target. But do I have to let the 2x services in subject to continue to run, or can I shut them down w/o disrupting anything in OpnSense?
Title: Re: Do syslog-ng and syslogd services have to run at all times?
Post by: Patrick M. Hausen on November 06, 2024, 06:40:09 PM
Local logging uses the same services.

Applications log to syslog, syslog writes to files ...
Title: Re: Do syslog-ng and syslogd services have to run at all times?
Post by: verfluchten on November 08, 2024, 02:27:56 PM
It's a pity that they are required anyway. This is a sub-optimal solution for embedded if a service is required to run even for local logging to in-memory /var.
Title: Re: Do syslog-ng and syslogd services have to run at all times?
Post by: Patrick M. Hausen on November 08, 2024, 02:35:30 PM
It's how Unix works. There is a central syslog API that has to be implemented *somehow*.