commit | 72dccc6f1e982cbe00423fa384305e32a556fd3b | [log] [tgz] |
---|---|---|
author | ILYA Khlopotov <iilyak@ca.ibm.com> | Wed May 11 08:15:50 2016 -0700 |
committer | ILYA Khlopotov <iilyak@ca.ibm.com> | Wed May 11 08:15:50 2016 -0700 |
tree | 8ccbe650f611a8a1e88e7d634b9e1fef3c5cb3a6 | |
parent | ec9498818601896dbd931b099477bd02db8ecc24 [diff] |
Implement couch_log behaviour couch_log was updated in such a way that the module name of a couch_log backend has to follow following convention `couch_log_<backend_name>`.
Twig is a SASL-compliant Erlang/OTP logger. It installs a gen_event handler in the error_logger event manager, where it consumes standard OTP reports and messages as well as events generated by twig:log/2,3,4. Log messages are written to a syslog server over UDP using the format specified in RFC 5424.
Twig's behavior is controlled using the application environment: