You can use the dsconfig tool in non-interactive mode to quickly modify a log publisher property on the command line or in a script. For information on each property, see the Directory Server Configuration Reference Guide, which is an HTML document listing the various properties for each Directory Server component.

  • Use dsconfig with the --no-prompt option with the properties that you want to modify or set for your access log. In this example, enable the properties to include the instance name and startup ID.
    $ bin/dsconfig set-log-publisher-prop --publisher-name "File-Based Access Logger" \
      --set include-instance-name:true --set include-startup-id:true