Skip to content

Commit

Permalink
Merge pull request #2174 from telefonicaid/task/set_log_level_all_log…
Browse files Browse the repository at this point in the history
…gers

split words in log sentence
  • Loading branch information
fgalan authored Jun 2, 2022
2 parents 9bed609 + 0b9e0ba commit 902c385
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ public static void putLogLevel(HttpServletRequest request, HttpServletResponse r
while (loggers.hasMoreElements()) {
Logger currentLogger = (Logger) loggers.nextElement();
if (currentLogger.getName().contains("com.telefonica.iot.cygnus")) {
LOGGER.debug("log4j logging level of logger " + currentLogger.getName() + "updated to " + logLevel.toUpperCase());
LOGGER.debug("log4j logging level of logger " + currentLogger.getName() + " updated to " + logLevel.toUpperCase());
LogManager.getLogger(currentLogger.getName()).setLevel(Level.toLevel(logLevel.toUpperCase()));
}
}
Expand Down

0 comments on commit 902c385

Please sign in to comment.