Skip Navigation Links | |
Exit Print View | |
Oracle Directory Server Enterprise Edition Administration Guide 11g Release 1 (11.1.1.5.0) |
Part I Directory Server Administration
2. Directory Server Instances and Suffixes
3. Directory Server Configuration
6. Directory Server Access Control
7. Directory Server Password Policy
8. Directory Server Backup and Restore
9. Directory Server Groups, Roles, and CoS
10. Directory Server Replication
13. Directory Server Attribute Value Uniqueness
15. Directory Server Monitoring
Part II Directory Proxy Server Administration
16. Directory Proxy Server Tools
17. Directory Proxy Server Instances
19. Directory Proxy Server Certificates
20. Directory Proxy Server Load Balancing and Client Affinity
21. Directory Proxy Server Distribution
22. Directory Proxy Server Virtualization
23. Virtual Data Transformations
24. Connections Between Directory Proxy Server and Back-End LDAP Servers
25. Connections Between Clients and Directory Proxy Server
26. Directory Proxy Server Client Authentication
27. Directory Proxy Server Logging
Viewing Directory Proxy Server Logs
Configuring Directory Proxy Server Logs
To Configure Directory Proxy Server Logs
To Configure Directory Proxy Server Access Log etimes Units
Configuring Directory Proxy Server Log Rotation
To Configure Periodic Log Rotation
Example Configurations for Log Rotation
Rotating the Log Based on Log Size
Rotating the Log Based on Time
Rotating the Log Based on Time and Log Size
Compressing Log Files After Rotation
Deleting Directory Proxy Server Logs
To Configure Log Deletion Based on Time
Logging Alerts to the syslogd Daemon
To Configure Directory Proxy Server to Log Alerts to the syslogd Daemon
Configuring the Operating System to Accept syslog Alerts
To Configure the Solaris OS to Accept syslog alerts
To Configure Linux to Accept syslog Alerts
To Configure HP-UX to Accept syslog alerts
Tracking Client Requests Through Directory Proxy Server and Directory Server Access Logs
To Track Operations From Directory Server Through Directory Proxy Server to the Client Application
28. Directory Proxy Server Monitoring and Alerts
Part III Directory Service Control Center Administration
Directory Proxy Server enables you to configure log deletion based on time, size, or free disk space (the default). For more information about these deletion policies, see Log File Deletion in Oracle Directory Server Enterprise Edition Reference.
The examples in the following procedures configure log deletion for the access log. You can use the same procedures toconfigure log deletion for bind, connection, or error logs. Be sure to replace access with bind, connection, or error depending upon the log you are configuring.
You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help.
$ dpconf set-access-log-prop -h host -p port max-age:duration
where duration includes a unit of days (d), weeks (w), or months (M). For example, to delete backup log files older than five days, use this command:
$ dpconf set-access-log-prop -h host1 -p 1389 max-age:5d
You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help.
$ dpconf set-access-log-prop -h host -p port max-size:memory-size
For example, to keep only the most recent log files with their aggregate size not more than 5 Mbytes, use this command:
$ dpconf set-access-log-prop -h host1 -p 1389 max-size:5M
You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help.
$ 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