Sha256: f7ea335c49189a7f566308e3bdec19b0efc6710fd0644eb37386b956f25ef7ff
Contents?: true
Size: 635 Bytes
Versions: 12
Compression:
Stored size: 635 Bytes
Contents
# typed: false # frozen_string_literal: true require "slack_webhook_logger" SlackWebhookLogger.setup do |config| # Webhook URL # # The URL where messages will be sent. config.webhook_url = Hephaestus::Engine.fetch_infra_secret( label: "SLACK_#{Rails.env.upcase}_LOG_URL", default: "https://slack.com/the_log_room", ) # The minimum error level to see in Slack. # # All log levels are supported, but don't do anything less then :warn since Slack only allows one message # per minute. config.level = :WARN config.ignore_patterns = [/Can't verify CSRF token authenticity/, /is not a valid MIME type/] end
Version data entries
12 entries across 12 versions & 1 rubygems