Sun Java System Directory Server Enterprise Edition 6.3 Administration Guide

Rotating Directory Server Logs Manually

If you have a log that is getting very large, you can manually rotate the log at any time. Rotation backs up the existing log file and creates a fresh log file.

ProcedureTo Rotate Log Files Manually

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

  1. Rotate the log file.

    $ dsconf rotate-log-now -h host -p port log-type

    For example, to rotate the access log:

    $ dsconf rotate-log-now -h host1 -p 1389 access