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

Parse problem for Java 11 Unified GC logging format #251

Open
mikrame opened this issue Feb 18, 2021 · 1 comment
Open

Parse problem for Java 11 Unified GC logging format #251

mikrame opened this issue Feb 18, 2021 · 1 comment

Comments

@mikrame
Copy link

mikrame commented Feb 18, 2021

Hello,
There is obviously a parsing problem for Unified GC logging format. Error occurs at a logfile-line looking completely equal to one already parsed succesfully.
Message:
INFO [DataReaderFacade]: GCViewer version 1.37-SNAPSHOT (2021-01-10T13:35:38+0000)
SEVERE [DataReaderFactory]: Failed to recognize file format.
[...]
gc_problem.log

WARNING [DataReaderFacade]: Failed to read file.
java.io.IOException: Failed to recognize file format. Failed to recognize file format.
WARNING [AbstractGCModelLoaderImpl]: Failed to create GCModel from C:\MKData\JIRA\ASR_Server\GC_Logs\gc_problem.log
java.util.concurrent.ExecutionException: com.tagtraum.perf.gcviewer.imp.DataReaderException
at java.base/java.util.concurrent.FutureTask.report(Unknown Source)

Used environment:

  • OpenJDK (11.0.10+9-Ubuntu-0ubuntu1.20.04)
  • Used Logging options: -Xlog:gc*:file=$LOGS/logs/gc-%t.log:time,uptime:filecount=5,filesize=20M
  • Used GCviewer version: 1.37-SNAPSHOT (2021-01-10T13:35:38+0000)
  • Logfile causing problems: attached "gc_problem.log"

Any help is welcome.

@chewiebug
Copy link
Owner

chewiebug commented Feb 22, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants