Sun Java System Directory Server Enterprise Edition 6.0 Administration Guide

ProcedureTo Configure Directory Proxy Server to Log Alerts to the syslogd Daemon

You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help.

  1. (Optional) View the current values of the properties for the system log alerts.


    $ dpconf get-server-prop -h host -p port syslog-alerts-enabled \
     syslog-alerts-facility syslog-alerts-host

    The default properties for the system log alerts are as follows:


    syslog-alerts-enabled   :  false
    syslog-alerts-facility  :  USER
    syslog-alerts-host      :  localhost

    The syslog-alerts-host property defines the host name of the syslogd daemon to which the messages are sent. The syslog-alerts-facility property is read-only and causes messages to be sent to the user category in the system log.

  2. Enable alert messages to be logged to the syslogd daemon.


    $ dpconf set-server-prop -h host -p port syslog-alerts-enabled:true
  3. (Optional) Send alert messages to the syslogd daemon on a different host.


    $ dpconf set-server-prop -h host -p port syslog-alerts-host:hostname