apache / apache/hugegraph

[Bug] Reduce unnecessary log output with mysql store

Open
#2,194 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
3.2k
Forks
636
Avg merge
3d 11h
Merged PRs (30d)
14

Description

### Bug Type (问题类型)

others (please edit later)

### Before submit

- [X] 我已经确认现有的 [Issues](https://github.com/apache/hugegraph/issues) 与 [FAQ](https://hugegraph.apache.org/docs/guides/faq/) 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)

### Environment (环境信息)

- Server Version: 1.0.0
- Backend: Mysql

### Expected & Actual behavior (期望与实际表现)

Change the following log to the "debug" level.

```
2023-04-11 21:57:39 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:39 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:39 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:39 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:39 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:39 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:39 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:39 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:40 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?socketTimeout=0&useSSL=false'
2023-04-11 21:57:40 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:40 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:40 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:40 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:40 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:40 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:40 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:40 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:40 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:40 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:40 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:41 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?socketTimeout=0&useSSL=false'
2023-04-11 21:57:41 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:41 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:41 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:41 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:41 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:41 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:41 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:41 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:41 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:41 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:41 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph_mysql?socketTimeout=0&useSSL=false'
2023-04-11 21:57:42 [task-scheduler-1] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?socketTimeout=0&useSSL=false'

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.