Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

customize_event can't be set when using rails? #150

Open
krainboltgreene opened this issue Dec 4, 2018 · 0 comments
Open

customize_event can't be set when using rails? #150

krainboltgreene opened this issue Dec 4, 2018 · 0 comments

Comments

@krainboltgreene
Copy link

Latest ruby, latest rails, latest logstash-logger

  if ENV.key?("LOGSTASH_ORIGIN")
    config.autoflush_log = true

    config.logstash.uri = ENV.fetch("LOGSTASH_ORIGIN")
    config.logstash.customize_event do |event|
      event.merge!({
        "application-name" => "sr-warehouse"
      })
    end
  end

Doesn't seem to set the property on logging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant