Add ability to ship logs to a Slack channel

This commit is contained in:
feld 2019-04-04 19:52:22 +00:00
commit 3b12eeda19
4 changed files with 28 additions and 3 deletions

View file

@ -118,6 +118,11 @@ config :logger, :ex_syslogger,
format: "$metadata[$level] $message",
metadata: [:request_id]
config :quack,
level: :warn,
meta: [:all],
webhook_url: "https://hooks.slack.com/services/YOUR-KEY-HERE"
config :mime, :types, %{
"application/xml" => ["xml"],
"application/xrd+xml" => ["xrd+xml"],