Skip to content

pragmaticivan/logglix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎱 Logglix

A simple elixir Logger backend which sends logs to Loggly service.

Installation

Logglix is a custom backend for the elixir :logger application. As such, it relies on the :logger application to start the relevant processes.

Add logger_loggly_backend to your list of dependencies in mix.exs:

def deps do
  [{:logglix, "~> 1.0.0"}]
end

Ensure logger_loggly_backend is started before your application:

def application do
  [applications: [:logglix, :httpoison]]
end

Configure the logger

config :logger,
  backends: [{Logglix, :logglix}, :console]

config :logger, :logglix,
  loggly_key: "your loggly key",
  tags: ["elixir"],
  level: :info

Resources

License

MIT License © Ivan Santos

About

🎱 Logger backend app for Loggly requests

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages