NextGen Knowledge Center

Enable Debug Logging for LDAP Activity

You can enable debug logging for Lightweight Directory Access Protocol (LDAP) activity by adding a statement to the log4j.properties file.

When an error occurs, the LDAP Authorization plug-in for Mirth® Connect by NextGen Healthcare records error messages in the Mirth® Connect by NextGen Healthcare server log. The server log file is located in the /logs folder within the Mirth® Connect installation folder and is named mirth.log.

If additional troubleshooting is necessary, you can configure Mirth® Connect to record more detailed log messages for LDAP activity. To do so, add this statement to the end of the log4j.properties file found in the /conf folder within the Mirth® Connect installation folder:

log4j.logger.com.mirth.connect.plugins.ldap = DEBUG

This statement enables debug-level log statements for the LDAP Authorization plug-in. Mirth® Connect must be restarted for the debug statements to appear in the log.

For debug logging to take effect, you must restart the server.