You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help.
Specify the maximum size for log files.
$ dpconf set-access-log-prop -h host -p port max-size:memory-size |
For example, to delete backup log files greater than 1 Mbyte, use this command:
$ dpconf set-access-log-prop -h host1 -p 1389 max-size:1M |