commit | 2ca00c30b3be22b85fea2a24c6cd8a57560aeaa4 | [log] [tgz] |
---|---|---|
author | Adam Kocoloski <adam@cloudant.com> | Tue Mar 08 16:55:34 2011 -0500 |
committer | Adam Kocoloski <adam@cloudant.com> | Tue Mar 08 16:55:34 2011 -0500 |
tree | 72891553f59d4ba394db437d7c8360c7c95f213a | |
parent | e669edff79d675253b1e2228113e3975b62d33e5 [diff] |
Set MSGID based on report type, refactor report format
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: