A lager backend to log native to the systemd journal
Switch branches/tags
Latest commit 9e022da Oct 24, 2016 @0xAX 0xAX committed on GitHub Update rebar.config
Failed to load latest commit information.
src fix expected key type, string and binary are now accepted Dec 16, 2015
tetrapak Added tetrapak config.ini Dec 19, 2013
.gitignore rebarized Oct 27, 2015
LICENSE first commit Dec 18, 2013
NEWS.MD rebarized Oct 27, 2015
README.md rebarized Oct 27, 2015
rebar.config Update rebar.config Oct 24, 2016



This is a backend for Lager

It will send logs out of lager to systemd journald.


Configure Lager like this:

{handlers, [ {lager_journald_backend, [{level, info}]} ]}

All logs with the level of the configuration or higher will be send to journald. The default level is info, so in the case above you can simply write:

{handlers, [ {lager_journald_backend, []} ]}


lager_journald_backend uses ejournald.


You can build lager_journald_backend via rebar:

rebar get-deps
rebar compile