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 16:21:00 UTC

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

    [ https://issues.apache.org/jira/browse/LOG4J2-2164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16305561#comment-16305561 ] 

Yuriy Sosov edited comment on LOG4J2-2164 at 12/28/17 4:20 PM:
---------------------------------------------------------------

sorry I have verified the old value "log4j2.skipJansi",
but set it correctly
please see the correction:
testJansi_sample-171210-log4j2.skipJansi=false-2. java
test_log4jver2.10.0__log4j2.skipJansi=false-2.png
result is the same: it won't help =( log4j2 ver 2.10.0 )


was (Author: 1_2_3):
sorry I have verified the old value "log4j2.skipJansi",
but set it correctly
please see the correction:
testJansi_sample-171210-log4j2.skipJansi=false-2. java
test_log4jver2.10.0__log4j2.skipJansi=false-2.png
result is the same: it won't help =(

> setting property: log4j.skipJansi=false does not enable Jansi console 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
> * 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
> with ver 2.10.0
> * log4j-core-2.10.0.jar    |  
> * log4j-api-2.10.0.jar       | does NOT enable Jansi
> vs with ver 2.3 or ver 2.9.1
> * log4j-core-2.3.jar    | 
> * log4j-api-2.3.jar       | OK: does enable Jansi
>            Reporter: Yuriy Sosov
>              Labels: features, jansi
>             Fix For: 2.3, 2.9.1
>
>         Attachments: AnsiConsoleExample2.java, jansi.ans, log4j2.xml, testJansi_sample-171210-log4j2.skipJansi=false-2. java, testJansi_sample-171210-log4j2.skipJansi=false. java, testJansi_sample-171210. java, test_compiledWith_log4jver2.3__runWith_log4jver2.10.0.png, test_log4jver2.10.0.png, test_log4jver2.10.0__log4j2.skipJansi=false-2.png, test_log4jver2.10.0__log4j2.skipJansi=false.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 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



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