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

[Bug] GC logs in JDK 11 do not include date and time stamps. #1149

Open
3 tasks done
qijiale76 opened this issue Aug 15, 2023 · 1 comment · May be fixed by #1240
Open
3 tasks done

[Bug] GC logs in JDK 11 do not include date and time stamps. #1149

qijiale76 opened this issue Aug 15, 2023 · 1 comment · May be fixed by #1240
Assignees

Comments

@qijiale76
Copy link
Contributor

Code of Conduct

Search before asking

  • I have searched in the issues and found no similar issues.

Describe the bug

Now gc log in jdk11 is set by

JVM_ARGS=" -server \
......
          -Xloggc:${RSS_LOG_DIR}/gc-%t.log"

JAVA11_EXTRA_ARGS=" -XX:+IgnoreUnrecognizedVMOptions \
          -Xlog:gc:tags,time,uptime,level"

and gc log do not include data and time

[0.004s][info][gc,heap] Heap region size: 32M

when use

-Xlog:gc*:${RSS_LOG_DIR}/gc-%t.log:tags,time,uptime,level

it works

[2023-08-15T16:16:50.442+0800][0.011s][info   ][gc,heap] Heap region size: 32M

Affects Version(s)

master

Uniffle Server Log Output

No response

Uniffle Engine Log Output

No response

Uniffle Server Configurations

No response

Uniffle Engine Configurations

No response

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@lifeSo
Copy link
Collaborator

lifeSo commented Jan 10, 2024

@qijiale76
Hei, Is this problem resolved ?
If no resolved, maybe I am interests in this problem.

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

Successfully merging a pull request may close this issue.

2 participants