How to remove warnings in logs about an unsecured LDAP connection?

Good day, please tell me, I use an unsecured LDAP connection , and I get a huge number of entries in the logs

2020.06.05 11:06:50 org.jivesoftware.openfire.ldap.LdapManager - Using unencrypted connection to LDAP service!
2020.06.05 11:06:51 org.jivesoftware.openfire.ldap.LdapManager - Using unencrypted connection to LDAP service!
2020.06.05 11:06:51 org.jivesoftware.openfire.ldap.LdapManager - Using unencrypted connection to LDAP service!

Is there a way to disable logging of this type?

The best way would be to use LDAPS, which provides an encrypted connection to the LDAP service.

If you want to hide the warning, you can modify the file log4j2.xml in the lib directory. You can use that to configure exactly what is being logged, where. You’ll find some configuration examples in that file. Full documentation is provided at https://logging.apache.org/log4j/2.x/manual/configuration.html

How to use LDAPS?

How to connect AD via LDAPS - Openfire / Openfire Support - Ignite Realtime Community Forums