Sun Java System Directory Server Enterprise Edition 6.1 Administration Guide

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