EUnit already logs to files:

```
make eunit apps=mem3
```

```
$ cat ./src/mem3/.eunit/couch.log

...

[error] 2018-10-03T17:42:57.280138Z nonode@nohost <0.137.0> -------- Db was 
deleted while getting security object. DbName: <<"NoExistDb2">>
[info] 2018-10-03T17:42:57.282706Z nonode@nohost <0.33.0> -------- Application 
fabric exited with reason: stopped
[info] 2018-10-03T17:42:57.283289Z nonode@nohost <0.33.0> -------- Application 
mem3 exited with reason: stopped
[info] 2018-10-03T17:42:57.283683Z nonode@nohost <0.33.0> -------- Application 
rexi exited with reason: stopped
...
```

Log level and other parameters can be configured in: ```./rel/files/eunit.ini```

[ Full content available at: https://github.com/apache/couchdb/pull/1637 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to