RFR: 8273471: Add foldmultilines to UL for stdout/err [v2]
Yasumasa Suenaga
ysuenaga at openjdk.java.net
Thu Sep 9 02:16:26 UTC 2021
On Thu, 9 Sep 2021 01:08:51 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Yasumasa Suenaga has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Fix comments
>
> Hi Yasumasa,
>
> Functional changes look good.
>
> A few issues with comments and a request with the documentation change.
>
> Thanks,
> David
@dholmes-ora Thanks for your comment! I fixed them in new commit.
We can see following help messages with `-Xlog:help` :
Available log outputs:
stdout/stderr
file=<filename>
If the filename contains %p and/or %t, they will expand to the JVM's PID and startup timestamp, respectively.
Available log output options:
foldmultilines=.. - If set to true, a log event that consists of multiple lines will be folded into a single line by replacing newline characters with the sequence '' and 'n' in the output. Existing single backslash characters will also be replaced with a sequence of two backslashes so that the conversion can be reversed. This option is safe to use with UTF-8 character encodings, but other encodings may not work.
Additional file output options:
filesize=.. - Target byte size for log rotation (supports K/M/G suffix). If set to 0, log rotation will not trigger automatically, but can be performed manually (see the VM.log DCMD).
filecount=.. - Number of files to keep in rotation (not counting the active file). If set to 0, log rotation is disabled. This will cause existing log files to be overwritten.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5407
More information about the hotspot-runtime-dev
mailing list