Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.10.0
-
- 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
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
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