You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Yuriy Sosov (JIRA)" <ji...@apache.org> on 2017/12/28 14:05:00 UTC

[jira] [Updated] (LOG4J2-2164) setting property: log4j.skipJansi=false does not enable Jansi under win 7 x86

     [ https://issues.apache.org/jira/browse/LOG4J2-2164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yuriy Sosov updated LOG4J2-2164:
--------------------------------
    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

please see the files attached for test code:




  was:
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:





> 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
>              Labels: features, jansi
>         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 with log4j2 ver 10.0 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)