Yuriy Sosov created LOG4J2-2164:
-----------------------------------

             Summary: setting property: log4j.skipJansi=false does not enable 
Jansi under win 7 x86
                 Key: LOG4J2-2164
                 URL: https://issues.apache.org/jira/browse/LOG4J2-2164
             Project: Log4j 2
          Issue Type: Bug
          Components: API, Core
    Affects Versions: 2.10.0
         Environment:  setting property: log4j.skipJansi=false does not enable 
Jansi under win 7 x86
with System.setProperty("log4j.skipJansi", "false");
with
log4j-core-2.10.0.jar  
log4j-api-2.10.0.jar

vs with
log4j-core-2.3.jar  |  OK
log4j-api-2.3.jar    |

jansi-1.15.jar
win 7 x86 Pro
Microsoft Visual C++ 2008 SP1 Redistributable v9.0.30729
Microsoft Visual C++ 2013 SP1 Redistributable v12.0.40649.5
Microsoft Visual C++ 2017 SP1 Redistributable v14.11.25325.0
jre1.8.0_144
            Reporter: Yuriy Sosov
         Attachments: AnsiConsoleExample2.java, log4j2.xml, 
testJansi_sample-171210. java, 
test_compiledWith_log4jver2.3__runWith_log4jver2.10.0.png, 
test_log4jver2.10.0.png, test_log4jver2.3.png

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

Jansi works ok under log4j2 ver 2.3

please see the files attached for test code:






--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to