Creating a log publisher using dsconfig interactive command-line mode
Steps
-
In the command line, enter
bin/dsconfig
. -
Authenticate to the server by following the prompts.
-
In the main menu, select the option to configure the log publisher.
-
In the
Log Publisher menu
, select the option to create a new log publisher. -
Select the Log Publisher type.
For this example, select File-Based Access Log Publisher.
-
Enter a name for the log publisher.
-
Enable it.
-
Enter the path to the log file relative to the PingDirectory server root.
For this example,
logs/disconnect.log
. -
Select the rotation policy to use for this log publisher.
-
Select the retention policy to use for this log publisher.
-
In the
Log Publisher Properties menu
, select the option forlog-connects:false
,log-disconnects:true
,log-requests:false
, andlog-results:false
. -
Enter
f
to apply the changes.