You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2015/10/14 18:30:25 UTC

couchdb commit: updated refs/heads/master to c6b9e74

Repository: couchdb
Updated Branches:
  refs/heads/master c2ce1ad66 -> c6b9e7437


Configure lager for eunit


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/c6b9e743
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/c6b9e743
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/c6b9e743

Branch: refs/heads/master
Commit: c6b9e74370210bbd14c8535e8457d85a26ddd945
Parents: c2ce1ad
Author: Alexander Shorin <kx...@apache.org>
Authored: Wed Oct 14 19:26:41 2015 +0300
Committer: Alexander Shorin <kx...@apache.org>
Committed: Wed Oct 14 19:26:41 2015 +0300

----------------------------------------------------------------------
 rel/files/eunit.config | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/c6b9e743/rel/files/eunit.config
----------------------------------------------------------------------
diff --git a/rel/files/eunit.config b/rel/files/eunit.config
index 3c7457d..3ed74c0 100644
--- a/rel/files/eunit.config
+++ b/rel/files/eunit.config
@@ -12,5 +12,21 @@
 
 [
     {kernel, [{error_logger, silent}]},
-    {sasl, [{sasl_error_logger, false}]}
+    {sasl, [{sasl_error_logger, false}]},
+    {lager, [
+        {error_logger_hwm, 1000},
+        {error_logger_redirect, true},
+        {handlers, [
+            {lager_console_backend, [error, {
+                lager_default_formatter,
+                [
+                    date, " ", time,
+                    " [", severity, "] ",
+                    node, " ", pid, " ",
+                    message,
+                    "\n"
+                ]
+            }]}
+        ]}
+    ]}
 ].