|Skip Navigation Links|
|Exit Print View|
|Oracle Directory Server Enterprise Edition Reference 11 g Release 1 (220.127.116.11.0)|
Connection logs contain information about connections established by the clients and their disconnection. This is the same information placed in the access log but replicated to avoid loosing it when old access logs are deleted.
Connection log messages are categorized according to the cause of the message. The following table lists the categories of messages that can be included in the connection log.
Table 23-5 Connection Log Message Categories
A connection log message has this format:
timestamp - category - severity - connectionNumber operationNumber messageID operationType messageText
The severity is always INFO.
Example 23-4 Extract of a Connection Log
[06/Sep/2010:15:10:29 +0200] - CONN_CONNECT - INFO - conn=110 client=127.0.0.1:44344 server=localhost:14600 protocol=LDAP [06/Sep/2010:15:10:30 +0200] - CONN_DISCONNECT - INFO - conn=110 reason="unbind" [06/Sep/2010:15:15:09 +0200] - CONN_CONNECT - INFO - conn=111 client=127.0.0.1:44364 server=localhost:14600 protocol=LDAP [06/Sep/2010:15:15:10 +0200] - CONN_DISCONNECT - INFO - conn=111 reason="unbind" [06/Sep/2010:15:47:37 +0200] - CONN_CONNECT - INFO - conn=112 client=127.0.0.1:55225 server=localhost:14600 protocol=LDAP [06/Sep/2010:15:48:10 +0200] - CONN_CONNECT - INFO - conn=113 client=127.0.0.1:55244 server=localhost:14600 protocol=LDAP [06/Sep/2010:15:49:08 +0200] - CONN_DISCONNECT - INFO - conn=112 reason="unbind" [06/Sep/2010:15:50:10 +0200] - CONN_DISCONNECT - INFO - conn=113 reason="unbind"
Connection and disconnection messages are similar to the connection and disconnection messages in the access log. See Content of Access, Error, and Audit Logs.
Bind log messages are stored in a buffer. The buffer is flushed to the bind log at the following times:
When the buffer is full
When the bind log is rotated
When the Directory Proxy Server is stopped
Every 2.5 seconds
By default, the size of the connection log buffer is 1M. However, the size of the buffer can be configured to control the frequency with which it is flushed. Setting the buffer size to 0 will disable buffering (and make Directory Proxy Server slower).
You can configure the size of the bind log buffer by setting the log-buffer-size property. For information about how to configure bind log properties, see To Configure Directory Proxy Server Logs in Oracle Directory Server Enterprise Edition Administration Guide