commit | ea18f4f63032bda0f1e5adffc407c76b048382ac | [log] [tgz] |
---|---|---|
author | Robert Newson <rnewson@apache.org> | Fri Sep 18 11:10:52 2015 +0100 |
committer | Robert Newson <rnewson@apache.org> | Fri Sep 18 13:46:39 2015 +0100 |
tree | a53abd7cb08150a97a9214f63bf0db36a8ab59df | |
parent | 2d5628040b9a79eb46797bbdadbc85168905efb6 [diff] |
Implement couch_log behaviour
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: