[
https://issues.jboss.org/browse/WFCORE-4115?page=com.atlassian.jira.plugi...
]
James Perkins commented on WFCORE-4115:
---------------------------------------
With Java 9 the unified logging ([JEP
271|http://openjdk.java.net/jeps/271]) was
introduced which includes GC logging. There isn't a lot we can do about format changes
or how the logs are rotated. We could decrease the log level if it's too verbose.
There is some
[
documentation|https://docs.oracle.com/javase/9/tools/java.htm#JSWOR-GUID-...]
about the settings. You can also use {{java -Xlog:help}} as well to see the settings.
With regards to the gc.log.0, I'll have to look at that. This isn't an area
I'm too familiar with at the moment. I'll have to experiment with it. However for
the most part there won't be much we can do about it short of filing JDK bugs if we
find issues.
JDK11 - GC logging format needs to be reviewed
----------------------------------------------
Key: WFCORE-4115
URL:
https://issues.jboss.org/browse/WFCORE-4115
Project: WildFly Core
Issue Type: Bug
Components: Scripts, Server
Reporter: Marek Kopecký
Assignee: James Perkins
Labels: Java11, jdk11
* Weird naming of gc log files
** I test this with JDK11
** I start standalone and stop standalone
** JDK10 creates JBOSS_HOME/standalone/log/gc.log (with detailed information) and
JBOSS_HOME/standalone/log/gc.log.0 (with brief summary of gc logging)
** I start standalone and stop standalone again
** JDK10 moves original gc.log to gc.log.1
** JDK10 keep original gc.log.0
** JDK10 creates new gc.log (with detailed information) and gc.log.2 (with brief summary
of gc logging)
** Can this be changed by GC settings?
* GC logs are much more verbose against jdk8 gc logs. Can this be fixed by some JDK10 gc
settings?
This is follow up for WFCORE-3996
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)