Hi H2DB Team,
We are using H2DB 2.2.224 and when we are connecting to H2DB using JDBC the connection was established , however whe DEBUG logs are enabled the user name and password also printing along with the connection information in the logs and how to avoid printing the credentials in the logs.
Following is the logger statement that I am able to see in the tomcat logs of my application after the connection to H2DB is established:
DEBUG jdbc.JdbcConnectionSource: opened connection to jdbc:h2:C:\apache-tomcat-9.0.68\webapps\ca-nim-sm_pt39\WEB-INF\data\nim-sm-customizations;AUTO_SERVER=TRUE;USER=DBUserName;PASSWORD=DBPassWord got #127749465
Can any one suggest how to avoid printing the credentials that we used to connect to H2DB in the above logger statement?
Thanks in advance.
Thanks,
Balamurali