DB connection information

It seems Logstash (7.10) Input JDBC plugin is leaking DB connections in one of the production servers.
Is it possible to trace the DB connection information?

The underlying Sequel library has an option to log_connection_info (See sequel/opening_databases.rdoc at jeremyevans/sequel (github.com)). So I added the following in pipeline conf file but it seems to have no effect.

jdbc {
        sequel_opts => {
            log_connection_info => true
        }

May be Sequel "logger" option also needs to be set but I am not sure of how to do that in the pipeline conf file.