Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-2164

setting property: log4j.skipJansi=false does not enable Jansi console under win 7 x86

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.10.0
    • 2.3, 2.9.1
    • API, Core

    Description

      setting property: log4j.skipJansi=false
      as below
      System.setProperty("log4j.skipJansi", "false"); // LOG4J2-2087: explicitly enable
      does not enable Jansi with log4j2 ver 10.0 under win 7 x86

      Jansi works ok under log4j2 ver 2.3 and ver 2.9.1

      please see the files attached for test code:
      note: all the test screens attached are the same for ver 2.3 and 2.9.1

      Attachments

        1. AnsiConsoleExample2.java
          2 kB
          Yuriy Sosov
        2. testJansi_sample-171210. java
          1 kB
          Yuriy Sosov
        3. log4j2.xml
          1 kB
          Yuriy Sosov
        4. test_log4jver2.3.png
          16 kB
          Yuriy Sosov
        5. test_log4jver2.10.0.png
          16 kB
          Yuriy Sosov
        6. test_compiledWith_log4jver2.3__runWith_log4jver2.10.0.png
          17 kB
          Yuriy Sosov
        7. jansi.ans
          0.5 kB
          Yuriy Sosov
        8. testJansi_sample-171210-log4j2.skipJansi=false. java
          1 kB
          Yuriy Sosov
        9. test_log4jver2.10.0__log4j2.skipJansi=false.png
          17 kB
          Yuriy Sosov
        10. testJansi_sample-171210-log4j2.skipJansi=false-2. java
          1 kB
          Yuriy Sosov
        11. test_log4jver2.10.0__log4j2.skipJansi=false-2.png
          17 kB
          Yuriy Sosov

        Activity

          People

            Unassigned Unassigned
            1_2_3 Yuriy Sosov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: