-Xsyslog
Enables operating system message logging.
Notes:
- Changes made to message logging by using the
-Xsyslogoption do not affect messages written to the standard error stream (stderr). - This option replaces the Eclipse OpenJ9™
-Xlogoption in Eclipse OpenJ9 version 0.24.0. If the-XX:+LegacyXlogOptionis set,-Xlogbehaves in the same way as-Xsyslogand 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, andJVMDUMP033I, 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.)