You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by kxepal <gi...@git.apache.org> on 2015/09/29 17:04:56 UTC

[GitHub] couchdb pull request: Turn off kernel error logger and sasl for eu...

GitHub user kxepal opened a pull request:

    https://github.com/apache/couchdb/pull/350

    Turn off kernel error logger and sasl for eunit tests run

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kxepal/couchdb reduce-log-noise-for-eunit

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb/pull/350.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #350
    
----
commit 335ccbf6569e9b7cf5361634e0b00a9060612ccb
Author: Alexander Shorin <kx...@apache.org>
Date:   2015-09-29T15:03:03Z

    Turn off kernel error logger and sasl for eunit tests run

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb pull request: Turn off kernel error logger and sasl for eu...

Posted by nickva <gi...@git.apache.org>.
Github user nickva commented on the pull request:

    https://github.com/apache/couchdb/pull/350#issuecomment-144091755
  
    This worked for me.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb pull request: Turn off kernel error logger and sasl for eu...

Posted by kxepal <gi...@git.apache.org>.
Github user kxepal commented on a diff in the pull request:

    https://github.com/apache/couchdb/pull/350#discussion_r41438046
  
    --- Diff: rel/files/eunit.config ---
    @@ -0,0 +1,16 @@
    +% Licensed under the Apache License, Version 2.0 (the "License"); you may not
    +% use this file except in compliance with the License. You may obtain a copy of
    +% the License at
    +%
    +%   http://www.apache.org/licenses/LICENSE-2.0
    +%
    +% Unless required by applicable law or agreed to in writing, software
    +% distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
    +% WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
    +% License for the specific language governing permissions and limitations under
    +% the License.
    +
    +[
    +    {kernel, [{error_logger, silent}]},
    +    {sasl, [{sasl_error_logger, false}]}
    --- End diff --
    
    Sorry, I miss your comment here. Idea is good, but actually I would like to see those logs in some file and bounded to specific test to understand what happened for where. It's more complex goal.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb pull request: Turn off kernel error logger and sasl for eu...

Posted by kxepal <gi...@git.apache.org>.
Github user kxepal closed the pull request at:

    https://github.com/apache/couchdb/pull/350


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb pull request: Turn off kernel error logger and sasl for eu...

Posted by eiri <gi...@git.apache.org>.
Github user eiri commented on a diff in the pull request:

    https://github.com/apache/couchdb/pull/350#discussion_r40725219
  
    --- Diff: rel/files/eunit.config ---
    @@ -0,0 +1,16 @@
    +% Licensed under the Apache License, Version 2.0 (the "License"); you may not
    +% use this file except in compliance with the License. You may obtain a copy of
    +% the License at
    +%
    +%   http://www.apache.org/licenses/LICENSE-2.0
    +%
    +% Unless required by applicable law or agreed to in writing, software
    +% distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
    +% WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
    +% License for the specific language governing permissions and limitations under
    +% the License.
    +
    +[
    +    {kernel, [{error_logger, silent}]},
    +    {sasl, [{sasl_error_logger, false}]}
    --- End diff --
    
    We probably want to add `{couch_log, [{backend, couch_log_lager}]}` here as well, though this does not reduce noise.
    
    What do you think about adding to couch_log eunit specific 'quiet' log backed that just drops messages and adding it here?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---