Sha256: a58d09f3e50535e8c15726ae9d67b26faea7af0a7a429bf28ac032989592a22c

Contents?: true

Size: 582 Bytes

Versions: 3

Compression:

Stored size: 582 Bytes

Contents

# typed: false
# frozen_string_literal: true

require "slack_webhook_logger"

Rails.application.configure 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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hephaestus-0.7.5.2 config/initializers/slack_webhook_logger.rb
hephaestus-0.7.5.1 config/initializers/slack_webhook_logger.rb
hephaestus-0.7.5 config/initializers/slack_webhook_logger.rb