GitHub user eiri opened a pull request:
https://github.com/apache/couchdb-couch-log/pull/4
Convert couch_log into pluggable logger interface
This change converts couch_log into behaviour that allows to decouple it
with lager and use CouchDB with any logging framework. The backend could be
specified with couch_log application's environment variable `backed`.
The very basic logger that logs to `standard_error` included as an
implementation example and fail-safe measure.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloudant/couchdb-couch-log pluggable-logger
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-couch-log/pull/4.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 #4
----
commit 6bb35011c2f4a319e00ed33b06d710f22e651313
Author: Eric Avdey <[email protected]>
Date: 2015-09-17T21:00:22Z
Convert couch_log into behaviour
commit 49741262fc0402a0fe4b62893410ce19eb045f81
Author: Eric Avdey <[email protected]>
Date: 2015-09-17T21:03:02Z
Add stderr logger implementation. Make it to fail-safe.
commit d25feaaae50694d7bc3248f7306a8d22bc988f2c
Author: Eric Avdey <[email protected]>
Date: 2015-09-17T21:07:44Z
Add tests and specs
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---