So if I understand you correctly Change the logger to syslog and then redirect from there. richt ?
________________________________ Van: Geist, Dan (CCI-Atlanta) <dan.ge...@cox.com> Verzonden: dinsdag 24 oktober 2023 15:51 Aan: DDFR | Ronald Blaas <ronald.bl...@ddfr.nl>; kea-users@lists.isc.org <kea-users@lists.isc.org> Onderwerp: Re: kea-dhcp remote syslog It depends on how you want to manage your systems, but my preference is to let software do the things it’s best at. Kea can send to multiple logging targets, but you’ll probably get better flexibility to store/mangle/redirect messages if you use a service designed for that. Syslog-ng (or rsyslog, logstash, etc.) have a lot more capabilities there. Also, using the native syslog target kea (as opposed to the file mode) will likely yield performance increase on heavily loaded system as file handles are fairly expensive. Systemd’s logging facility is often incorporated at the core with outputs that are used by userspace apps like syslog-ng Dan From: Kea-users <kea-users-boun...@lists.isc.org> on behalf of DDFR | Ronald Blaas <ronald.bl...@ddfr.nl> Date: Tuesday, October 24, 2023 at 9:39 AM To: kea-users@lists.isc.org <kea-users@lists.isc.org> Subject: [EXTERNAL] [Kea-users] kea-dhcp remote syslog Hi all, I have read in the documentation that multiple loggers can be setup. But I don't quit understand how to setup remote logging. thus far we have setup our logging locally using this config: "loggers": [ { "name": "kea-dhcp4", "output_options": [ { "output": "/var/log/kea/kea-dhcp4.log" } ], "severity": "INFO", "debuglevel": 0 } So how can we setup additional logging to be forwarded to our syslog server? (we are using syslog-ng locally) Should we configure an additional logger to syslog, filter out the message locally and sent them to the remote logger ? Any help is appreciated Regards, Ronald
-- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users