ioffice_logglix v0.1.0 Logglix
This module contains the GenEvent that you can use to transmit the logs of your applications.
### Configuring
By default the LOGGLY_KEY environment variable is used to find your API key for Loggly. You can also manually set your API key by configuring the :logglix application.
config :logger, :logglix,
loggly_key: System.get_env("LOGGLY_KEY"),
tags: ["elixir"],
level: :info,
environment: :prod
The configuration defaults to:
config :logger, :logglix,
host: "http://logs-01.loggly.com",
loggly_key: System.get_env("LOGGLY_KEY"),
tags: [],
level: :info,
metadata: [],
formatter: Logger.Formatter,
timeout: 5000,
type: :inputs