PingDirectory

Modifying the access log using dsconfig non-interactive mode

Use the dsconfig tool in non-interactive mode to modify a log publisher property on the command line or in a script. Learn more about each property in the PingDirectory server Configuration Reference Guide.

Steps

  • Use dsconfig with the --no-prompt option and the properties you want to modify or set for your access log.

    Example:

    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