Sha256: 56a071984593aaa4ff39b699e006eccefe228bea42c9c1cac66c1f4db4e66f64
Contents?: true
Size: 641 Bytes
Versions: 3
Compression:
Stored size: 641 Bytes
Contents
# typed: false # frozen_string_literal: true require "slack_webhook_logger" Rails.application.configure do config.after_initialize do SlackWebhookLogger.setup do |config| # Webhook URL # # The URL where messages will be sent. config.webhook_url = Hephaestus::SLACK_LOG_URL # 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 end end
Version data entries
3 entries across 3 versions & 1 rubygems