JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Directory Server Enterprise Edition Administration Guide 11g Release 1 (11.1.1.5.0)
search filter icon
search icon

Document Information

Preface

Part I Directory Server Administration

1.  Directory Server Tools

2.  Directory Server Instances and Suffixes

3.  Directory Server Configuration

4.  Directory Server Entries

5.  Directory Server Security

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

11.  Directory Server Schema

12.  Directory Server Indexing

13.  Directory Server Attribute Value Uniqueness

14.  Directory Server Logging

15.  Directory Server Monitoring

Part II Directory Proxy Server Administration

16.  Directory Proxy Server Tools

17.  Directory Proxy Server Instances

18.  LDAP Data Views

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

To Rotate Log Files

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

To Configure Log Deletion Based on File Size

To Configure Log Deletion Based on Free Disk Space

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

29.  Directory Service Control Center Configuration

Index

Configuring Directory Proxy Server Logs

Directory Proxy Server access, bind, connection, and error logs can be configured by using the dpconf command or DSCC. For information about how to configure the logs by using DSCC, see the Directory Proxy Server online help. This section describes how to configure Directory Proxy Server logs by using the dpconf command.

You can retrieve a complete list of the configuration options along with the allowed values and default values by running these commands:

$ dpconf help-properties error-log
$ dpconf help-properties access-log
$ dpconf help-properties bind-log
$ dpconf help-properties connection-log






To Configure Directory Proxy Server Logs

The example in this procedure configures the Directory Proxy Server access log. You can use the same procedure to configure the Directory Proxy Server bind, connection, or error log. 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.

  1. View the properties of the access log.
    $ dpconf get-access-log-prop -h host -p port

    The default properties of an access log are as follows:

    default-log-level                :  info
    enable-log-rotation              :  true
    log-buffer-size                  :  1M
    log-file-compression             :  no-compression
    log-file-name                    :  logs/access
    log-file-perm                    :  600
    log-level-client-connections     :  inherited
    log-level-client-disconnections  :  inherited
    log-level-client-operations      :  inherited
    log-level-connection-handlers    :  inherited
    log-level-data-sources           :  inherited
    log-level-data-sources-detailed  :  none
    log-min-size                     :  100M
    log-rotation-frequency           :  1h
    log-rotation-policy              :  size
    log-rotation-size                :  100M
    log-rotation-start-day           :  -
    log-rotation-start-time          :  -
    log-search-filters               :  false
    max-age                          :  unlimited
    max-log-files                    :  10
    max-size                         :  unlimited
    min-free-disk-space-size         :  10
  2. Change one or more of the properties that are listed in Step 1.
    $ dpconf set-access-log-prop -h host -p port property:value \
     [property:value ...]

    For example, to set the default log level for all message categories to all, set the value of the default-log-level property to all.

    $ dpconf set-access-log-prop -h host1 -p 1389 default-log-level:all

    To disable all logs, irrespective of the log level for each message category, set the value of the default-log-level property to none.

    $ dpconf set-access-log-prop -h host1 -p 1389 default-log-level:none

    To reset a specific log level to the default log level, set that log level property to inherited. For example, to reset the log level for client connections, run the following command:

    $ dpconf set-access-log-prop -h host1 -p 1389 log-level-client-connections:inherited

    For information about properties that can be set by the set-access-log-prop subcommand, type:

    $ dpconf help-properties access-log

To Configure Directory Proxy Server Access Log etimes Units

Directory Proxy Server can log the etimes in seconds, milliseconds or microseconds. If the server property log-etimes-in-seconds is set to true, the etimes will be logged in seconds with a decimal part. The precision of the decimal part will be determined by the value of the time-resolution property. If log-etimes-in-seconds is set to false (the default), then the etimes will be integer numbers expressing milliseconds or microseconds, depending on the value of the time-resolution property.