Postgres logs out ldap connection settings including password

Solution 1:

Setting log_error_verbosity = TERSE removes DETAIL from the log

https://www.postgresql.org/docs/9.1/runtime-config-logging.html