Common Connection Codes
186
Netscape Directory Server Configuration, Command, and File Reference • December 2001
Access log level 4 enables logging for internal operations which log the following
items in addition to the details of the search being performed, including search
base, scope, filter, and requested search attributes.
Connection Description
The connection description, in this case
conn=Internal,
indicates that the
connection is an internal connection. The operation number
op=-1
also indicates
that the operation was initiated internally.
Options Description
The options description, in this case
options=persistent
, indicates that a
persistent search is being performed. Persistent searches can be used as a form of
monitoring and configured to return changes to given configurations as and when
changes occur.
In Code Example 5-4 on page 186 both access logging level 512 and 4 are enabled,
which results in both internal access operations, as well as entry access and
referrals being logged.
Common Connection Codes
A connection code is a code which is added to the
closed
log message to provide
additional information related to the connection closure. Common connection
codes include:
A1=Client aborts the connection.
NOTE
Directory Server 6.0 access log now distinguishes between persistent
and regular searches, which was not the case for previous Directory
Server releases.
Code Example 5-4
Access Log Extract with Internal Access Operation, Entry Access
and Referral Logging Levels (Levels 4+512)
[12/Jul/2001:16:45:46 +0200] conn=Internal op=-1 ENTRY
dn="cn=\22dc=example,dc=com\22, cn=mapping tree, cn=config"
[12/Jul/2001:16:45:46 +0200] conn=Internal op=-1 ENTRY
dn="cn=\22dc=example,dc=com\22, cn=mapping tree, cn=config"