MailNews:LDAP Address Books: Difference between revisions

→‎LDAP Logging: Added note about NSPR_LOG_FILE
(→‎LDAP Logging: Added note about NSPR_LOG_FILE)
Line 5: Line 5:
The LDAP logging can be used to view the messages that the Address Book is sending and receiving to/from your LDAP server. We hope that this will aid debugging problems on an LDAP link.
The LDAP logging can be used to view the messages that the Address Book is sending and receiving to/from your LDAP server. We hope that this will aid debugging problems on an LDAP link.


To enable logging set the environment variable "NSPR_LOG_MODULES" to ldap:5 and start up Address Book, then attempt an LDAP search or autocomplete and the connection/message process will be logged to the console.
To enable logging set the environment variable "NSPR_LOG_MODULES" to ldap:5 (see links below for how to do this) and start up Address Book, then attempt an LDAP search or autocomplete and the connection/message process will be logged to the console.
 
For ease of logging, you may wish to also set the NSPR_LOG_FILE to a file location so that you don't need to capture the file output. See the links below on how to set this up.


See these links for more detail:
See these links for more detail:
canmove, Confirmed users, Bureaucrats and Sysops emeriti
3,628

edits