Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8271186

Add UL option to replace newline char

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17, 18
    • Fix Version/s: 18
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b13

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ysuenaga Yasumasa Suenaga
              Reporter:
              ysuenaga Yasumasa Suenaga
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: