Skip to content

Commit

Permalink
[ISSUE #8162]Optimize the logging printout for the ConfigManager#load…
Browse files Browse the repository at this point in the history
…Bak method (#8163)
  • Loading branch information
mxsm committed May 21, 2024
1 parent 0ad0244 commit 94bb64f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public boolean load() {
private boolean loadBak() {
String fileName = null;
try {
fileName = this.configFilePath();
String jsonString = MixAll.file2String(fileName + ".bak");
fileName = this.configFilePath() + ".bak";
String jsonString = MixAll.file2String(fileName);
if (jsonString != null && jsonString.length() > 0) {
this.decode(jsonString);
log.info("load " + fileName + " OK");
Expand Down

0 comments on commit 94bb64f

Please sign in to comment.