Core: [feature request] SYSLOGD config

Created on 1 Oct 2017  路  2Comments  路  Source: opnsense/core

Hello again^^,

Basically I'd like to have more control over what is logged and where.
At moment this is partially avaiable for remote logging only

As it is quite a bit of work to add individual options it would be great if one could add an additional line to the settings at least...
e.g I'd like to have smth like
*.err;kern.warning;*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/messages

At moment I'm thinking of an addtional .conf file that get's parsed at startup as a simple solution...
Probably this is already somewhere implemented?

Cheers, Stephan

feature

Most helpful comment

with https://github.com/opnsense/core/issues/3505 (in master) you can already add custom configuration files

https://github.com/opnsense/core/blob/41fcaf2436dfee412ddb03e4ac715cb162d85cf3/src/opnsense/service/templates/OPNsense/Syslog/syslog-ng.conf#L26

I'm planning to do some more specifically for remote logging, this ticket looks like it can be closed.

All 2 comments

Syslog-ng should eventually replace syslogd and we want to make that more configurable. But at the moment we don鈥檛 know if this is landing in 18.1 or not. It鈥檚 not likely that the old system will receive substantial updates in the meantime.

with https://github.com/opnsense/core/issues/3505 (in master) you can already add custom configuration files

https://github.com/opnsense/core/blob/41fcaf2436dfee412ddb03e4ac715cb162d85cf3/src/opnsense/service/templates/OPNsense/Syslog/syslog-ng.conf#L26

I'm planning to do some more specifically for remote logging, this ticket looks like it can be closed.

Was this page helpful?
0 / 5 - 0 ratings