[erlang-questions] Lager and syslog

Ehsan Mohammadi <>
Fri Aug 5 20:34:19 CEST 2016


hi

i`m trying to use lager_syslog in my project but it seems a driver is
missing rebar.conf:

    {deps, [
       ...
       {lager_syslog, {git,
"https://github.com/basho/lager_syslog.git", {branch, master}}}
    ]}.

my test handler:

    {lager_syslog_backend, ["test", local1, info]},

err:

19:29:09.981 [error] Lager failed to install handler
{lager_syslog_backend,{"test",local1}} into lager_event, retrying
later : {error,

                                {{shutdown,

                                  {failed_to_start_child,

                                   syslog,

                                   "could not load driver syslog_drv:
\"cannot open shared object file: No such file or directory\""}},

                                 {syslog_app,

                                  start,

                                  [normal,

                                   []]}}}

any suggestion?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160805/dab09c25/attachment.html>


More information about the erlang-questions mailing list