Most of UL entries would print log in one line, however some categories (e.g. `exceptions`) have multiline entries as following:
```
[0.157s][info][exceptions] Exception <a 'java/lang/NullPointerException'{0x000000008b918f70}: test>
thrown in interpreter method <{method} {0x00007f8335000248} 'main' '([Ljava/lang/String;)V' in 'Test'>
at bci 9 for thread 0x00007f8330017160 (main)
```
It is ease to parse with log shipper (Fluent Bit, Logstash, and more) if UL can print all logs in one line.
```
[0.157s][info][exceptions] Exception <a 'java/lang/NullPointerException'{0x000000008b918f70}: test>
thrown in interpreter method <{method} {0x00007f8335000248} 'main' '([Ljava/lang/String;)V' in 'Test'>
at bci 9 for thread 0x00007f8330017160 (main)
```
It is ease to parse with log shipper (Fluent Bit, Logstash, and more) if UL can print all logs in one line.
- csr for
-
JDK-8271188 Add UL option to replace newline char
-
- Closed
-
- relates to
-
JDK-8273104 Refactoring option parser for UL
-
- Resolved
-
-
JDK-8273471 Add foldmultilines to UL for stdout/err
-
- Resolved
-
1.
|
Update the java manpage markdown source |
|
Resolved | David Holmes |