imbajin commented on code in PR #2195:
URL:
https://github.com/apache/incubator-hugegraph/pull/2195#discussion_r1163064274
##########
hugegraph-mysql/src/main/java/org/apache/hugegraph/backend/store/mysql/MysqlSessions.java:
##########
@@ -275,7 +275,7 @@ protected URIBuilder newConnectionURIBuilder(String url)
}
private Connection connect(String url) throws SQLException {
- LOG.info("Connect to the jdbc url: '{}'", url);
+ LOG.debug("Connect to the jdbc url: '{}'", url);
Review Comment:
emmm. I changed it from `debug` to `info` indeed 😿
Because the `connect/init` stage will be a **one-time** operation, but if
the user config a **wrong** jdbc params
It's hard for them to modify log level from `debug` to `info` during the
**short init** time, and how could they debug the problem easily?
BTW, duplicate log should be avoid & enhanced (consider another way is
better)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]