You can configure a Syslog-based Access Log Publisher using the
dsconfig tool. We recommend that you use syslog locally on
localhost and use syslog-ng
to send the syslog messages to remote
syslog servers.
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-access.
If you are using the dsconfig tool in interactive mode, the
menu item for Syslog Facility is an advanced property, which can be exposed by typing
a (for "show advanced properties") on the Syslog-Based
Access Log Publisher menu.
$ bin/dsconfig create-log-publisher \ --publisher-name "syslog-access" \ --type syslog-based-access \ --set syslog-facility:4 \ --set enabled:true