Date format in log files includes an extra trailing space character with Java versions 20 or later. #27208
Labels
Java 20
Java 21
Java 22
release bug
This bug is present in a released version of Open Liberty
release:24001
team:Lumberjack
Milestone
Describe the bug
messages.log and trace.log files show an extra narrow no-break space character at the end of the time stamp in Liberty log files.
Steps to Reproduce
Starting the server with Java 20 or Java 21 will show the extra space character at the end of the time stamp.
[12/19/23, 8:35:38:653 EST ]
instead of[12/19/23, 8:35:38:653 EST]
Expected behavior
Expect time stamp to have same format to look the same as previous releases of Java and not have a special space character. When parsing the date and time String this can lead to problems when moving up new versions of Java.
Diagnostic information:
Additional context
https://bugs.openjdk.org/browse/JDK-8304925 provides additional information about the reason for this issue coming up with Java 20 and 21.
The text was updated successfully, but these errors were encountered: