Use the dsconfig tool in non-interactive mode to modify a log publisher property on the command line or in a script.
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.