I am trying to use the syslog !!prog syntax and am running into problems, before I go to far down the rabbit hole of trying to identify a bug, I would like to make sure that my expectations are sane. I am try to use syslog.conf with the following syntax

   !!relayd
   *.*     /var/log/relayd
   *.*     tls4://logginghost:8513
   !*
   <rest of standard syslog.conf>

When relayd generates a log it only is written to the /var/log/relayd file. If I switch the order, then the log will only be written to loginghost.

My expectation would be that both destinations would have the log written. Am I misunderstanding the man page?

Thanks for any insight or corrections.

Reply via email to