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

-Xsyslog

Enables operating system message logging.

Notes:

  • Changes made to message logging by using the -Xsyslog option do not affect messages written to the standard error stream (stderr).
  • This option replaces the Eclipse OpenJ9™ -Xlog option in Eclipse OpenJ9 version 0.24.0. If the -XX:+LegacyXlogOption is set, -Xlog behaves in the same way as -Xsyslog and with the same parameters.

Syntax

    -Xsyslog:<parameter>{,<parameter>}

Parameters

Restriction: The parameters all, none and help must be used on their own and cannot be combined. However, the other parameters can be grouped. For example, to include error, vital and warning messages use -Xsyslog:error,vital,warn.

For message details see OpenJ9 VM messages.

help

    -Xsyslog:help
Gives details the available parameters. (This parameter cannot be combined with others.)

error

    -Xsyslog:error
Turns on logging for all OpenJ9 VM error messages (default).

vital

    -Xsyslog:vital
Turns on logging for selected information messages JVMDUMP006I, JVMDUMP032I, and JVMDUMP033I, which provide valuable additional information about dumps produced by the OpenJ9 VM (default).

info

    -Xsyslog:info
Turns on logging for all OpenJ9 VM information messages.

warn

    -Xsyslog:warn
Turns on logging for all OpenJ9 VM warning messages.

config

    -Xsyslog:config
Turns on logging for all OpenJ9 VM configuration messages.

all

    -Xsyslog:all
Turns on logging for all OpenJ9 VM messages. (This parameter cannot be combined with others.)

none

    -Xsyslog:none
Turns off logging for all OpenJ9 VM messages. (This parameter cannot be combined with others.)