Working with Xlog output

The Java 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
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset