commit | ebd486dcdaa943c934dc495e7ed16519f5473bf9 | [log] [tgz] |
---|---|---|
author | Adam Kocoloski <adam@cloudant.com> | Tue Mar 08 15:58:32 2011 -0500 |
committer | Adam Kocoloski <adam@cloudant.com> | Tue Mar 08 15:58:32 2011 -0500 |
tree | fafff50612826e9c1cf2340b6773899394846d1a | |
parent | edf6cc45dbacaa72795b88032343b54a5d0e2096 [diff] |
Record nonce as MSGID and self() as PROCID
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: