Skip to content

Commit

Permalink
Fixing log
Browse files Browse the repository at this point in the history
  • Loading branch information
softwaremagico committed Sep 13, 2024
1 parent 0526680 commit 920f26e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static void warning(Logger logger, String className, String messageTempla
}
}
final String templateWithClass = className + ": " + messageTemplate;
logger.warn(templateWithClass, arguments);
logger.warn(templateWithClass.replaceAll("[\n\r]", "_"), arguments);
}

/**
Expand Down

0 comments on commit 920f26e

Please sign in to comment.