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

vatamane pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/main by this push:
     new bf6a827ed Reduce EUnit log noise
bf6a827ed is described below

commit bf6a827ed248b9e3f188d537248800a63f1e5bfd
Author: Nick Vatamaniuc <[email protected]>
AuthorDate: Wed Dec 6 18:56:53 2023 -0500

    Reduce EUnit log noise
    
    We dump the logs to Jenkins console on failure, but when the volume of the 
logs
    is too large, it locks the browser and make it impossible to inspect. This
    should reduce the logging volume about 10MB instead of 40MB and hopefully 
make
    it more manageably to inspect in the browser.
---
 rel/files/eunit.config | 2 +-
 rel/files/eunit.ini    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/rel/files/eunit.config b/rel/files/eunit.config
index 3c7457d3a..80d756154 100644
--- a/rel/files/eunit.config
+++ b/rel/files/eunit.config
@@ -11,6 +11,6 @@
 % the License.
 
 [
-    {kernel, [{error_logger, silent}]},
+    {kernel, [{logger_level, error}, {error_logger, silent}]},
     {sasl, [{sasl_error_logger, false}]}
 ].
diff --git a/rel/files/eunit.ini b/rel/files/eunit.ini
index 8c203bab4..4fe525aa0 100644
--- a/rel/files/eunit.ini
+++ b/rel/files/eunit.ini
@@ -31,7 +31,7 @@ port = 0
 ; log to a file to save our terminals from log spam
 writer = file
 file = {{log_dir}}/couch.log
-level = info
+level = notice
 
 [replicator]
 ; disable jitter to reduce test run times

Reply via email to