mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
03.44.2013 66e99134aeadb9070235ae0bc3a5c172a4568c98
Fix OPENDJ-1168: Warning message displayed when heartbeat check fails with a bind connection pool

* reduce log level of heartbeat failure message.
1 files modified
8 ■■■■ changed files
opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/HeartBeatConnectionFactory.java 8 ●●●● patch | view | raw | blame | history
opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/HeartBeatConnectionFactory.java
@@ -491,7 +491,13 @@
                 * that the heart beat was aborted by a client-side close.
                 */
                if (!(error instanceof CancelledResultException)) {
                    DEFAULT_LOG.warn("Heartbeat failed for connection factory '{}'", factory, error);
                    /*
                     * Log at debug level to avoid polluting the logs with
                     * benign password policy related errors. See OPENDJ-1168
                     * and OPENDJ-1167.
                     */
                    DEFAULT_LOG.debug("Heartbeat failed for connection factory '{}'", factory,
                            error);
                    timestamp(error);
                }
                releaseHeartBeatLock();