Remove duplicate lines from LDAP library from log

Details

Detail name Value
Changelog Number 27805
Type Improvement
Status Resolved
Fix Versions Exasol 2025.2.0, Exasol 2025.1.9
Resolution Date 2025-12-17

Background

Exasol uses the OpenLDAP library to connect to LDAP servers for authentication. Output from this library is saved to the log files.

In some situations such as slow networks, slow servers or misconfigured servers, OpenLDAP can log a very large number (e.g. 20000) of consecutive lines that are identical, for example “TLS trace: SSL_connect:error in SSLv3/TLS write finished”. This can flood the Exasol log files and waste disk space.

Improvement

We added a custom log handler for OpenLDAP log messages which suppresses output for more than 3 consecutive lines that are identical.

This will be disabled by default in DB versions 2025.1.x and enabled by default since 2025.2.0. If you are using an 2025.1.x (x >= 6) version and would like to enable this feature, please contact Support.