hi, is there any way to set the syslog level ngircd uses? my syslog is somewhat full of spam from server connections, which i don't really need to know about
Hi!
Am 12.07.2022 um 20:40 schrieb ubq323 ubq323@ubq323.website:
hi, is there any way to set the syslog level ngircd uses? my syslog is somewhat full of spam from server connections, which i don't really need to know about
You can use „SyslogFacility“ in ngircd.conf to set the „facility“ (the default is "local5“), and then configure your syslog daemon to only log this facility starting with a higher log level.
For rsyslog, something like this:
local5.warn /var/log/ngircd.log
To log only warning messages (and above, errors, critical, …) to ngircd.log.
You can’t filter it in ngIRCd itself.
Regards Alex