### Modification Logs view

The Modification Logs view shows all sucessful and failed modifications.

#### Concept

All modify operations are logged to a logfile in LDIF format. Additionally the result (OK or ERROR) is prepended as LDIF comment to every log record.

Example log of a sucessfully performed modification: `
#!RESULT OK
#!CONNECTION ldap://localhost:389
#!DATE 2006-11-04T21:32:40.134
dn: cn=Ted Geisel,ou=People,o=JNDITutorial
changetype: modify
add: mail
mail: Ted.Geisel@JNDITutorial.com
-
`

Example log of a failed modification: `
#!RESULT ERROR
#!CONNECTION ldap://localhost:389
#!DATE 2006-11-04T21:33:05.739
#!ERROR [LDAP: error code 20 - modify/add: mail: value #0 already exists]
dn: cn=Ted Geisel,ou=People,o=JNDITutorial
changetype: modify
add: mail
mail: Ted.Geisel@JNDITutorial.com
-
`

The modification logging mechanism works with logfile rotation. By default 10 logfiles each with 100KB per connection are used, you may change these settings in the Modification Logs preferences .

#### Example screenshot

#### Toolbar

Icon | Action | Description
--- | --- | ---
| Clear | Clears the current modification logfile.
| Refresh | Reloads the current modification logfile.
| Older | Loads an older modification logfile.
| Newer | Loads a newer modification logfile.
| Export Modification Logs... | Exports the modification logs to a file.

#### Drop Down Menu

The drop down menu contains the following items:

- Enable Modification Logs: Enables/Disables the modification logs.

- Preferences...: Opens the Modification Logs preferences dialog.