apache / shardingsphere

Distributed SQL transaction & query engine for data sharding, scaling, encryption, and more - on any database.
Apache License 2.0
19.82k stars 6.71k forks source link

props `system_log_level` is not in effect #24861

Open Pace2Car opened 1 year ago

Pace2Car commented 1 year ago

Bug Report

For English only, other languages will not accept.

Before report a bug, make sure you have:

Please pay attention on issues you submitted, because we maybe need more details. If no response anymore and we cannot reproduce it on current information, we will close it.

Please answer these questions before submitting your issue. Thanks!

Which version of ShardingSphere did you use?

master a593ad9

Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?

Both

Expected behavior

Configured props system_log_level in the configuration file server.yaml

props:
  system-log-level: DEBUG

After startup, expect to see debug logs, but only output info

Excute: SET DIST VARIABLE system_log_level = 'DEBUG'; then, the debug log is output.

Actual behavior

system_log_level is not in effect

Reason analyze (If you can)

The log level is not refreshed in propeties refresh logic

Pace2Car commented 1 year ago

I'm following and fixing this.