Change log
The change log contains information about the Directory Server operations.
The Directory Server records changes made to the LDAP data in the change log database. Entries in the change log database can be queried by using the standard LDAP APIs. All update operations to the Directory Server are recorded in this database.
LDAP client applications that depend on polling for identifying changes can query the change log periodically with appropriate filters (based on chronological change numbers).
All change log entries are of object class ibm-changelog and
is derived from changelogentry object class. They
are located under the DN entry "cn=changelog”.
The following table contains attributes of the ibm-changelog object
class with the description of a change.
| Attribute | Description |
|---|---|
| changenumber | A number that uniquely identifies a change that is made to a directory entry. This integer value increases as new entries are added and is unique for a specific instance. |
| targetdn | DN of the entry that was added, deleted, or modified. For the modrdn operation, it gives the DN of the entry before it was modified. |
| changetype | Type of change that is made to the entry: add, modify, delete, or modrdn. |
| changes | The changes that are made to the Directory Server published in LDIF. |
| newRDN | The new RDN of an entry, if changetype is modrdn. |
| deleteOldRDN | It is a Boolean attribute. If the value is TRUE, it indicates that the RDN must not be retained as a distinguished attribute of the entry. If FALSE, it indicates that the RDN must be retained as a distinguished attribute. |
| newSuperior | If present, it gives the name of the immediate parent of the existing entry. |
| changetime | Time when the change was done. |
| ibm-changeInitiatorsName | DN of the user who initiated the change. |