commit | 9393f4d957b1054c562da00d8c3d467d88b13a84 | [log] [tgz] |
---|---|---|
author | Robert Newson <rnewson@apache.org> | Wed Aug 19 00:16:30 2015 +0100 |
committer | Robert Newson <rnewson@apache.org> | Fri Sep 18 14:04:32 2015 +0100 |
tree | 24c9752c02afb1d4ec8f9524ec2846d5678cb883 | |
parent | ea18f4f63032bda0f1e5adffc407c76b048382ac [diff] |
Allow facility override in options
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: