Sha256: ef2d107e70ae740a8b7ac6d805a7c2e0cb303ac2c5f64c7f9a866ee72ed2b0b4

Contents?: true

Size: 523 Bytes

Versions: 8

Compression:

Stored size: 523 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::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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hephaestus-0.7.4 config/initializers/slack_webhook_logger.rb
hephaestus-0.7.3.1 config/initializers/slack_webhook_logger.rb
hephaestus-0.7.3 config/initializers/slack_webhook_logger.rb
hephaestus-0.7.2.5 config/initializers/slack_webhook_logger.rb
hephaestus-0.7.2.4 config/initializers/slack_webhook_logger.rb
hephaestus-0.7.2.3 config/initializers/slack_webhook_logger.rb
hephaestus-0.7.2.2 config/initializers/slack_webhook_logger.rb
hephaestus-0.7.2.1 config/initializers/slack_webhook_logger.rb