Skip to content

CAUTION: This site hosts draft documentation for the next release. For published content of the latest release, visit www.eclipse.org/openj9/docs

-XX:[+|-]LegacyXlogOption

Controls processing of the -Xlog option.

Syntax

Setting Effect Default
-XX:+LegacyXlogOption Enable legacy -Xlog behavior
-XX:-LegacyXlogOption Process -Xlog requests for GC logging yes

Explanation

From Eclipse OpenJ9™ 0.24.0, the -Xlog option is replaced by the -Xsyslog option. The -XX:[+|-]LegacyXlogOption controls how the -Xlog option is processed.

  • When -XX:-LegacyXlogOption is set, the -Xlog option is recognized only when a form of this option is run that requests garbage collection (GC) logging (for example, -Xlog:gc[:stderr|:file=<filename>]). For more information, see -Xlog.
  • When -XX:+LegacyXlogOption is set, the legacy -Xlog behavior is enabled. When enabled, the option is equivalent to the -Xsyslog option. That is, the -Xlog option can be used with the parameters documented in -Xsyslog.