April 2018
Intermediate to advanced
910 pages
33h 21m
English
The Java 9 logging framework supports three types of output with examples of direct use with the -Xlog command-line syntax:
In the following example, we provide output to stderr:
-Xlog:all=warning:stderr:none
The following example provides output to stdout:
-Xlog:all=warning:stdout:none
The following example writes the output to a text file:
-Xlog:all=warning:file=logmessages.txt:none