[syslog-ng] restart vs reload

Alexandre Santos alexandre.rosas.santos at gmail.com
Fri Mar 6 20:02:12 UTC 2020


Hi,
I am trying to dynamically change the output message format between RFC3164
and RFC5424.

root at localhost:~# diff /etc/syslog-ng/syslog-ng.conf
/root/syslog-ng.conf.bak
365c365
<     network("192.168.122.1" transport("udp") ip-protocol(4) port(514)
---
>     syslog("192.168.122.1" transport("udp") ip-protocol(4) port(514)

If I use: "/usr/sbin/service syslog-ng restart" it works fine, but if I use
"/usr/sbin/syslog-ng-ctl reload", the message format does not change.

I am using syslog-ng version 3.19

Any thoughts?

Thanks & Regards,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20200306/eeb848e7/attachment.html>


More information about the syslog-ng mailing list