summaryrefslogtreecommitdiff
path: root/rel/files
diff options
context:
space:
mode:
authorPaul J. Davis <paul.joseph.davis@gmail.com>2016-07-22 05:26:40 -0500
committerPaul J. Davis <paul.joseph.davis@gmail.com>2016-07-22 05:26:40 -0500
commit80dfcd5ef27abc5ff439996853c491d1eb670af4 (patch)
tree08d4e89222c77352e8913902473ef414c279a38f /rel/files
parent7b3f5d03fd51d9653bbfd6dc79e91e3ad5186d28 (diff)
downloadcouchdb-80dfcd5ef27abc5ff439996853c491d1eb670af4.tar.gz
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.
Diffstat (limited to 'rel/files')
-rw-r--r--rel/files/eunit.config5
-rw-r--r--rel/files/eunit.ini8
2 files changed, 9 insertions, 4 deletions
diff --git a/rel/files/eunit.config b/rel/files/eunit.config
index 97562f561..3c7457d3a 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}]}
+].
diff --git a/rel/files/eunit.ini b/rel/files/eunit.ini
index b1303b941..c706fff43 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
+