Skip to content

Commit

Permalink
[FLINK-23898][akka] Fix log level mapping
Browse files Browse the repository at this point in the history
WARN -> WARNING
TRACE -> DEBUG
  • Loading branch information
zentol authored Aug 22, 2021
1 parent 82c1cc1 commit 5af5dd1
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ private static Config getBasicAkkaConfig(Configuration configuration) {

private static String getLogLevel() {
if (LOG.isTraceEnabled()) {
return "TRACE";
// TRACE is not supported by akka
return "DEBUG";
}
if (LOG.isDebugEnabled()) {
return "DEBUG";
Expand All @@ -121,7 +122,7 @@ private static String getLogLevel() {
return "INFO";
}
if (LOG.isWarnEnabled()) {
return "WARN";
return "WARNING";
}
if (LOG.isErrorEnabled()) {
return "ERROR";
Expand Down

0 comments on commit 5af5dd1

Please sign in to comment.