You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by rc...@apache.org on 2024/01/17 03:12:46 UTC

(james-project) 01/02: [BUILD] Do not display info/debug log while running tests

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

rcordier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit da89d2e0b67adf9c31b875aff5e22beb64f62c2c
Author: Quan Tran <hq...@linagora.com>
AuthorDate: Tue Jan 16 15:48:09 2024 +0700

    [BUILD] Do not display info/debug log while running tests
    
    Too many info logs during tests are noisy.
    It was enabled recently, likely because of a debug session: JAMES-3944 Configure rrt-error in more places.
---
 testing/base/src/main/resources/logback-test.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/testing/base/src/main/resources/logback-test.xml b/testing/base/src/main/resources/logback-test.xml
index 8e1fde3a69..b1d9aa85e8 100644
--- a/testing/base/src/main/resources/logback-test.xml
+++ b/testing/base/src/main/resources/logback-test.xml
@@ -17,6 +17,11 @@
                 <encoder>
                         <pattern>%d{HH:mm:ss.SSS} [%-5level] %logger{15} - %msg%n%rEx</pattern>
                 </encoder>
+                <immediateFlush>false</immediateFlush>
+                <!-- Disable below block for debug logs mode-->
+                <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
+                        <level>ERROR</level>
+                </filter>
         </appender>
 
         <root level="WARN">


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org