ExSysylog is an Elixir port of the erlang Twig logger.
ExSyslog is an Elixir/OTP logger. It installs a gen_event handler in the error_logger event manager, where it consumes standards OTP reports and messages as well as events generated by the ExSyslog.Logger.log. Log messages are written to a syslog server over UDP using the format specified in RFC 5424.
ExSyslog's behavior is controlled using the application configuration environment:
- host (undefined): the hostname of the syslog server
- port (514): the port of the syslog server
- facility (local2): syslog facility to be used
- level (info): logging threshold. Messages "above" this threshold (in syslog parlance) will be discarded. Acceptable values are debug, info, notice, warn, err, crit, alert, and emerg.
- appid ("exsyslog"): inserted as the APPID in the syslog message
- max_term_size (8192): raw data size below which we format normally
- max_message_size (16000): approx. max size of truncated string
exrm_rpm is copyright (c) 2014 E-MetroTel.
The source code is released under the MIT License.
Check LICENSE for more information.