Sun Java System Directory Server Enterprise Edition 6.3 Administration Guide

ProcedureTo Configure Access and Error Log Deletion Based on Free Disk Space

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

  1. Specify the minimum available disk space.

    $ dpconf set-access-log-prop -h host -p port min-free-disk-space-size:memory-size

    For example, to delete backup log files when the available disk space is less than 2 Mbytes, use this command:

    $ dpconf set-access-log-prop -h host1 -p 1389 min-free-disk-space-size:2M