You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2023/03/22 22:04:05 UTC

[couchdb] branch suppress-sasl-error-logger-output created (now b7a430c2e)

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

ronny pushed a change to branch suppress-sasl-error-logger-output
in repository https://gitbox.apache.org/repos/asf/couchdb.git


      at b7a430c2e Suppress sasl_error_logger output on Windows

This branch includes the following new commits:

     new b7a430c2e Suppress sasl_error_logger output on Windows

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[couchdb] 01/01: Suppress sasl_error_logger output on Windows

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ronny pushed a commit to branch suppress-sasl-error-logger-output
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit b7a430c2ec400e80605e41cadfd4470b76d0e651
Author: Ronny Berndt <ro...@apache.org>
AuthorDate: Wed Mar 22 23:04:00 2023 +0100

    Suppress sasl_error_logger output on Windows
    
    Correct env variable `ERL_AFLAGS` to suppress `sasl_error_logger` output.
    
    Suppressing messages like:
    ```
    =ERROR REPORT==== 22-Mar-2023::22:47:36.788000 ===
    Error in process <0.998.0> with exit value:
    {database_does_not_exist,
        [{mem3_shards,load_shards_from_db,"_users",
             [{file,"src/mem3_shards.erl"},{line,430}]},
         {mem3_shards,load_shards_from_disk,1,
             [{file,"src/mem3_shards.erl"},{line,405}]},
         {mem3_shards,load_shards_from_disk,2,
             [{file,"src/mem3_shards.erl"},{line,434}]},
         {mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,100}]},
         {fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,39}]},
         {chttpd_auth_cache,ensure_auth_ddoc_exists,2,
             [{file,"src/chttpd_auth_cache.erl"},{line,214}]},
         {chttpd_auth_cache,listen_for_changes,1,
             [{file,"src/chttpd_auth_cache.erl"},{line,160}]}]}
    
        chttpd_socket_buffer_size_test:51: small_recbuf...[0.006 s] ok
    =INFO REPORT==== 22-Mar-2023::22:47:36.897000 ===
        application: chttpd
        exited: stopped
        type: temporary
    
    =INFO REPORT==== 22-Mar-2023::22:47:36.897000 ===
        application: fabric
        exited: stopped
        type: temporary
    ```
---
 Makefile.win | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Makefile.win b/Makefile.win
index 1dae3612c..694ef2faf 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -153,7 +153,7 @@ endif
 .PHONY: eunit
 # target: eunit - Run EUnit tests, use EUNIT_OPTS to provide custom options
 eunit: export BUILDDIR = $(shell echo %cd%)
-eunit: export ERL_AFLAGS = $(shell echo "-config %cd%/rel/files/eunit.config")
+eunit: export ERL_AFLAGS = -config $(shell echo "%cd%")/rel/files/eunit.config
 eunit: export COUCHDB_QUERY_SERVER_JAVASCRIPT = $(shell echo %cd%)/bin/couchjs $(shell echo %cd%)/share/server/main.js
 eunit: export COUCHDB_TEST_ADMIN_PARTY_OVERRIDE=1
 eunit: couch
@@ -164,19 +164,19 @@ eunit: couch
 # target: exunit - Run ExUnit tests, use EXUNIT_OPTS to provide custom options
 exunit: export BUILDDIR = $(shell echo %cd%)
 exunit: export MIX_ENV=test
-exunit: export ERL_LIBS = $(shell echo %cd%)\src
-exunit: export ERL_AFLAGS = $(shell echo "-config %cd%/rel/files/eunit.config")
+exunit: export ERL_LIBS = $(shell echo %cd%)/src
+exunit: export ERL_AFLAGS = -config $(shell echo "%cd%")/rel/files/eunit.config
 exunit: export COUCHDB_QUERY_SERVER_JAVASCRIPT = $(shell echo %cd%)/bin/couchjs $(shell echo %cd%)/share/server/main.js
 exunit: couch elixir-init setup-eunit elixir-check-formatted elixir-credo
 	@mix test --cover --trace $(EXUNIT_OPTS)
 
 setup-eunit: export BUILDDIR = $(shell echo %cd%)
-setup-eunit: export ERL_AFLAGS = $(shell echo "-config %cd%/rel/files/eunit.config")
+setup-eunit: export ERL_AFLAGS = -config $(shell echo "%cd%")/rel/files/eunit.config
 setup-eunit:
 	@$(REBAR) setup_eunit 2> nul
 
 just-eunit: export BUILDDIR = $(shell echo %cd%)
-just-eunit: export ERL_AFLAGS = $(shell echo "-config %cd%/rel/files/eunit.config")
+just-eunit: export ERL_AFLAGS = -config $(shell echo "%cd%")/rel/files/eunit.config
 just-eunit:
 	@$(REBAR) -r eunit $(EUNIT_OPTS)