Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pragmaticivan/logglix
🎱 Logger backend app for Loggly requests
https://github.com/pragmaticivan/logglix
elixir loggly logs
Last synced: 4 days ago
JSON representation
🎱 Logger backend app for Loggly requests
- Host: GitHub
- URL: https://github.com/pragmaticivan/logglix
- Owner: pragmaticivan
- Created: 2016-05-03T04:08:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-01-02T19:45:04.000Z (almost 5 years ago)
- Last Synced: 2024-10-06T08:47:17.528Z (30 days ago)
- Topics: elixir, loggly, logs
- Language: Elixir
- Homepage:
- Size: 10.7 KB
- Stars: 11
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- freaking_awesome_elixir - Elixir - A logger backend for posting errors to Loggly. (Logging)
- fucking-awesome-elixir - logglix - A logger backend for posting errors to Loggly. (Logging)
- awesome-elixir - logglix - A logger backend for posting errors to Loggly. (Logging)
README
🎱 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`:
```elixir
def deps do
[{:logglix, "~> 1.0.0"}]
end
```Ensure logger_loggly_backend is started before your application:
```elixir
def application do
[applications: [:logglix, :httpoison]]
end
```Configure the logger
```elixir
config :logger,
backends: [{Logglix, :logglix}, :console]config :logger, :logglix,
loggly_key: "your loggly key",
tags: ["elixir"],
level: :info
```## Resources
* [Contributing Guide](https://github.com/pragmaticivan/logglix/blob/master/CONTRIBUTING.md)
* [Code of Conduct](https://github.com/pragmaticivan/logglix/blob/master/CODE_OF_CONDUCT.md)## License
[MIT License](http://pragmaticivan.mit-license.org/) © Ivan Santos