AM 7 uses Logback for configuration of debug logging.
You can enable message level debugging for all logs as described in Maintenance Guide › Debug Logging or you can just set it for the Configuration appender as described in Maintenance Guide › To Temporarily Enable Debug Logging with Logback.jsp.
The Configuration debug log shows network errors when the debug level is set to Warning or Message (default is Error). You can set this debug level for all logs as described in How do I enable Message level debugging in AM (All versions) debug files? or you can just set it for the amEventService instance as follows:
- Log into AM as the admin user (called amadmin by default).
- Navigate to: <protocol>://host.fqdn:port/openam/Debug.jsp, for example: http://host1.example.com:8080/openam/Debug.jsp.
- Select amEventService from the Debug Instances field.
- Select Warning or Message from the Level field and click Submit to change the debug level.
The Debug.jsp page always shows the debug level as Error, regardless of its actual setting.
If you have network based errors, you will see errors such as the following in your Configuration log (located in the /path/to/openAM/debug directory by default):amEventService WARNING: EventService.run() LDAPException received: com.sun.identity.ldap.LDAPException: Server or Network error (81) at com.sun.identity.shared.ldap.LDAPConnThread.networkError(LDAPConnThread.java:910) at com sun.identity.shared.ldap.LDAPConnThread.networkError(LDAPConnThread.java:895) at com.sun.identity.shared.ldap.LDAPConnThread.run(LDAPConnThread.java:676) at java.lang.Thread.run(Thread.java:745) ...
Once you have reproduced the problem and captured the debug logs, you should revert the debug level to Error to avoid filling up the disks where the debug logs are stored.