Skip to content

Log when server is blacklisted #184

Description

@david0

Hi,

we had the situation that our certificate expired and new connections could not be established. The application remained working somewhat, I assume the established connections kept working.
The metrics (via LDAPConnectionPoolStatistics) were showing that servers are getting blackisted but in the logs there was zero indication that something goes wrong.

I think it would be good if an warning would be logged when a server enters/leaves the blacklist.

We are using AggregateLDAPConnectionPoolHealthCheck with PruneUnneededConnectionsLDAPConnectionPoolHealthCheck, GetEntryLDAPConnectionPoolHealthCheck and RoundRobinServerSet atm.

Activity

  1. dirmgr commented on Aug 14, 2025

    @dirmgr
    Collaborator

    Thanks for the suggestion!

    I've just committed an update to the ServerSetBlacklistManager that will log debug messages whenever servers are added to or removed from the blacklist.

  2. david0 commented on Aug 15, 2025

    @david0
    Author

    Thanks for the quick response and improvement!

    Would a server entering the blackist not be worth at last an WARNING level logging? Now the server entering the blacklist is exactly the same logging wise as Setting the SO_TIMEOUT value for connection LDAPConnection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions