Add ability to ship logs to a Slack channel
This commit is contained in:
parent
3c7f5bb1dc
commit
3b12eeda19
4 changed files with 28 additions and 3 deletions
|
|
@ -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"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue