Skip to content

Commit

Permalink
fix: an inaccurate error message when parsing a log level from a stri…
Browse files Browse the repository at this point in the history
…ng (alibaba#3221)
  • Loading branch information
SkipperQ authored Sep 19, 2024
1 parent 6248799 commit 2f4a044
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ private static void loadProperties() {
try {
logLevel = Level.parse(logLevelString);
} catch (IllegalArgumentException e) {
System.out.println("Log level : " + logLevel + " is invalid. Use default : " + LOG_DEFAULT_LEVEL.toString());
System.out.println("Log level : " + logLevelString + " is invalid. Use default : " + LOG_DEFAULT_LEVEL.toString());
}
}
System.out.println("INFO: Sentinel log level is: " + logLevel);
Expand Down

0 comments on commit 2f4a044

Please sign in to comment.