-Xlog
Enables message logging.
Note: Changes made to message logging using the -Xlog
option do not affect messages written to the standard error stream (stderr
).
Syntax
-Xlog:<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 -Xlog:error,vital,warn
.
For message details see OpenJ9 VM messages.
help
-Xlog:help
- Gives details the available parameters. (This parameter cannot be combined with others.)
error
-Xlog:error
- Turns on logging for all OpenJ9 VM error messages (default).
vital
-Xlog: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
-Xlog:info
- Turns on logging for all OpenJ9 VM information messages.
warn
-Xlog:warn
- Turns on logging for all OpenJ9 VM warning messages.
config
-Xlog:config
- Turns on logging for all OpenJ9 VM configuration messages.
all
-Xlog:all
- Turns on logging for all OpenJ9 VM messages. (This parameter cannot be combined with others.)
none
-Xlog:none
- Turns off logging for all OpenJ9 VM messages. (This parameter cannot be combined with others.)