The directory server provides several log publishers by default. To list the existing log publishers, type:
$ dsconfig list-log-publishers
To display the properties of a log publisher, type:
$ dsconfig get-log-publisher-prop
To create a new log publisher, type:
$ dsconfig create-log-publisher
Follow the prompts to configure the log publisher according to your requirements.
By default, no retention or rotation policies are configured for a log publisher. You can add one or more retention and rotation policies while creating the log publisher, or you can configure the retention and rotation policies later.
To configure an existing log publisher, type:
$ dsconfig set-log-publisher-prop
Check the configuration and make any additional configuration changes before you finish.
For more information about the configuration properties associated with log publishers, see the Log Publisher Configuration in Sun OpenDS Standard Edition 2.0 Configuration Reference.