From ff35e920b910cd5583dbbf2339977292de9bd6f5 Mon Sep 17 00:00:00 2001 From: imbajin Date: Tue, 18 May 2021 12:08:37 +0800 Subject: [PATCH] log: record mysql connection url (#1451) record mysql connection url info (#1428 #1441) --- .../com/baidu/hugegraph/backend/store/mysql/MysqlSessions.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hugegraph-mysql/src/main/java/com/baidu/hugegraph/backend/store/mysql/MysqlSessions.java b/hugegraph-mysql/src/main/java/com/baidu/hugegraph/backend/store/mysql/MysqlSessions.java index 7e02fc6520..a80b6e184c 100644 --- a/hugegraph-mysql/src/main/java/com/baidu/hugegraph/backend/store/mysql/MysqlSessions.java +++ b/hugegraph-mysql/src/main/java/com/baidu/hugegraph/backend/store/mysql/MysqlSessions.java @@ -254,6 +254,7 @@ protected URIBuilder newConnectionURIBuilder() { } private Connection connect(String url) throws SQLException { + LOG.info("Connect to the jdbc url: '{}'", url); String driverName = this.config.get(MysqlOptions.JDBC_DRIVER); String username = this.config.get(MysqlOptions.JDBC_USERNAME); String password = this.config.get(MysqlOptions.JDBC_PASSWORD);