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.
About this task
For information on each property, see the PingDirectory server Configuration Reference Guide, which is an HTML document listing the various properties for each PingDirectory server component.
Steps
-
Use
dsconfig
with the--no-prompt
option with 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