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