LoggerStatsd

LoggerJsonFileBackend is elixir logger backend that count the errors/warns... and send it to statsd

Installation

If available in Hex, the package can be installed by adding logger_statsd to your list of dependencies in mix.exs:

def deps do
[{:logger_statsd, "~> 0.1.0"}]
end

Configuration

You need a valid statsd configuration

config :logger,
backends: [{LoggerStatsdLogger, :statsd_logger}]
config :logger, :statsd_logger,
level: :info