Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Loggly backend for lager
Branch: master

Version 0.1.0

latest commit 1d81b8f0c4
Per Andersson authored
Failed to load latest commit information.
src Version 0.1.0
LICENSE Initial commit Update README
rebar.config Lock commit reference in jsx dep.


This is a Loggly backend for lager which lets you send lager logs to your Loggly account.


Configure a Lager handler like the following:

{lager_loggly_backend, [Identity, Level, MaxRetries, RetryInterval, LogglyUrl]}
  • Identity - The string that all messages get tagged with in Loggly
  • Level - The lager level at which the backend accepts messages (eg. using ‘info’ would send all messages at info level or above into syslog)
  • MaxRetries - The maximum number of retries the backend will do before giving up on Loggly
  • RetryInterval - The interval at which each retry is performed. i.e. Retries 5 and Interval 3 means that it will try a maximum of 5 times with 3 seconds apart
  • LogglyUrl - This is your unique Loggly URL for a given Input

An example might look something like this:

{lager_loggly_backend, [<<"my_id">>, info, 5, 3, ""]}

Refer to Lager’s documentation for futher information on configuring handlers.

Something went wrong with that request. Please try again.