Sun Java System Directory Server Enterprise Edition 6.2 Administration Guide

ProcedureTo Configure Access and Error Log Deletion Based on File Size

You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help.

  1. 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