Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date format in log files includes an extra trailing space character with Java versions 20 or later. #27208

Closed
jhanders34 opened this issue Dec 19, 2023 · 0 comments · Fixed by #27209
Assignees
Labels
Java 20 Java 21 Java 22 release bug This bug is present in a released version of Open Liberty release:24001 team:Lumberjack

Comments

@jhanders34
Copy link
Member

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:

  • OpenLiberty Version: 23.0.0.3 - 23.0.0.12 (versions that support Java 20 and 21)
  • Java Version: 20 and 21

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Java 20 Java 21 Java 22 release bug This bug is present in a released version of Open Liberty release:24001 team:Lumberjack
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants