This is an automated email from the ASF dual-hosted git repository.

av pushed a commit to branch ignite-ducktape
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/ignite-ducktape by this push:
     new d09d651  IGNITE-13638 : Bring log config to ducktape tests (#8405)
d09d651 is described below

commit d09d6513d263072c695484a1676b7b3fb8d8d666
Author: Vladsz83 <vlads...@gmail.com>
AuthorDate: Thu Oct 29 11:42:17 2020 +0300

    IGNITE-13638 : Bring log config to ducktape tests (#8405)
---
 modules/ducktests/tests/ignitetest/services/utils/ignite_spec.py        | 1 +
 .../ducktests/tests/ignitetest/services/utils/templates/log4j.xml.j2    | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/ducktests/tests/ignitetest/services/utils/ignite_spec.py 
b/modules/ducktests/tests/ignitetest/services/utils/ignite_spec.py
index afb975a..5977d23 100644
--- a/modules/ducktests/tests/ignitetest/services/utils/ignite_spec.py
+++ b/modules/ducktests/tests/ignitetest/services/utils/ignite_spec.py
@@ -156,6 +156,7 @@ class ApacheIgniteNodeSpec(IgniteNodeSpec, 
IgnitePersistenceAware):
 
         self.jvm_opts.extend([
             "-DIGNITE_SUCCESS_FILE=" + self.PERSISTENT_ROOT + "/success_file",
+            "-Dlog4j.configuration=file:" + self.LOG4J_CONFIG_FILE,
             "-Dlog4j.configDebug=true"
         ])
 
diff --git 
a/modules/ducktests/tests/ignitetest/services/utils/templates/log4j.xml.j2 
b/modules/ducktests/tests/ignitetest/services/utils/templates/log4j.xml.j2
index e8b3be8..b2a9a7b 100644
--- a/modules/ducktests/tests/ignitetest/services/utils/templates/log4j.xml.j2
+++ b/modules/ducktests/tests/ignitetest/services/utils/templates/log4j.xml.j2
@@ -23,8 +23,6 @@
     <appender name="CONSOLE_ERR" class="org.apache.log4j.ConsoleAppender">
         <param name="Target" value="System.err"/>
 
-        <param name="Threshold" value="INFO"/>
-
         <layout class="org.apache.log4j.PatternLayout">
             <param name="ConversionPattern" 
value="[%d{{ISO8601}}][%-5p][%t][%c{{1}}] %m%n"/>
         </layout>

Reply via email to