You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hugegraph.apache.org by "imbajin (via GitHub)" <gi...@apache.org> on 2023/04/11 16:26:00 UTC
[GitHub] [incubator-hugegraph] imbajin commented on a diff in pull request #2195: change log level from info to debug
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, however duplicate log should be enhanced (consider another way?)
--
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: issues-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org