Sha256: 8c42dd16cd4de0c9a7b93b0cf703f6e77b6078caf1052aea16ccd55fe3c5fc41
Contents?: true
Size: 616 Bytes
Versions: 1
Compression:
Stored size: 616 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 = 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hephaestus-0.7.7.2 | config/initializers/slack_webhook_logger.rb |