Package pro.taskana.common.internal.util
Class LogSanitizer
java.lang.Object
pro.taskana.common.internal.util.LogSanitizer
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringstripLineBreakingChars(Object loggingMessage) Removes characters which break the log file pattern.
-
Method Details
-
stripLineBreakingChars
Removes characters which break the log file pattern. Protects against injection attacks.- Parameters:
loggingMessage- String which should be sanitized- Returns:
- sanitized logging message
-