Page created: 24 Jul 2019
|
Page updated: 6 Nov 2019
| 1 min read
7.3 Product PingDirectory
-
Use dsconfig to create the debug log publisher. The
log-file
property (required) sets the debug log path. You must also specify the rotation and retention policy for the debug log.$ bin/dsconfig create-log-publisher \ --publisher-name "File-Based Debug Logger" \ --type file-based-debug \ --set enabled:true \ --set log-file:/logs/debug \ --set "rotation-policy:24 Hours Time Limit Rotation Policy" \ --set "rotation-policy:Size Limit Rotation Policy" \ --set "retention-policy:File Count Retention Policy"