Repository: couchdb Updated Branches: refs/heads/master 7b3f5d03f -> 80dfcd5ef
Fix logging for eunit tests I accidentally unsilenced sasl and kernel error loggers. This also adds file logging for eunit tests when the logging is enabled. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/80dfcd5e Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/80dfcd5e Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/80dfcd5e Branch: refs/heads/master Commit: 80dfcd5ef27abc5ff439996853c491d1eb670af4 Parents: 7b3f5d0 Author: Paul J. Davis <[email protected]> Authored: Fri Jul 22 05:26:40 2016 -0500 Committer: Paul J. Davis <[email protected]> Committed: Fri Jul 22 05:26:40 2016 -0500 ---------------------------------------------------------------------- rel/files/eunit.config | 5 ++++- rel/files/eunit.ini | 8 +++++--- 2 files changed, 9 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/80dfcd5e/rel/files/eunit.config ---------------------------------------------------------------------- diff --git a/rel/files/eunit.config b/rel/files/eunit.config index 97562f5..3c7457d 100644 --- a/rel/files/eunit.config +++ b/rel/files/eunit.config @@ -10,4 +10,7 @@ % License for the specific language governing permissions and limitations under % the License. -[]. +[ + {kernel, [{error_logger, silent}]}, + {sasl, [{sasl_error_logger, false}]} +]. http://git-wip-us.apache.org/repos/asf/couchdb/blob/80dfcd5e/rel/files/eunit.ini ---------------------------------------------------------------------- diff --git a/rel/files/eunit.ini b/rel/files/eunit.ini index b1303b9..c706fff 100644 --- a/rel/files/eunit.ini +++ b/rel/files/eunit.ini @@ -27,6 +27,8 @@ port = 0 port = 0 [log] -; logging is disabled to remove unwanted noise in stdout from tests processing -level = none -include_sasl = false +; log to a file to save our terminals from log spam +writer = file +file = couch.log +level = info +
