Page created: 22 Jul 2020 |
Page updated: 1 Feb 2021
You can configure a Syslog-based Error Log Publisher using the dsconfig tool. Again, we recommend that you use syslog locally on localhost and use syslog-ng to send the data packets over the UDP protocol.
Because syslog implementations differ by vendor, please review your particular vendor’s syslog configuration.
Use dsconfig to create a log publisher of type
syslog-based-error. In this example, set the syslog facility to 4 for security/authorization messages.
$ bin/dsconfig create-log-publisher --publisher-name "syslog-error" \ --type syslog-based-error --set syslog-facility:4 --set enabled:true