CHANGELOG.md in govuk_app_config-1.3.0 vs CHANGELOG.md in govuk_app_config-1.3.1

- old
+ new

@@ -1,5 +1,9 @@ +# 1.3.1 + +* Fix collection of Statsd gauge metrics + # 1.3.0 * Include a class to configure unicorn to the common GOV.UK configuration ### How to upgrade @@ -41,11 +45,25 @@ [sentry-270]: https://github.com/getsentry/raven-ruby/commit/ef623824cb0a8a2f60be5fb7e12f80454da54fd7 ### How to upgrade * Remove `gem 'unicorn'` from your Gemfile -* Remove `gem 'logstasher'` from your Gemfile (Rails only) -* Remove all `config.logstasher.*` configs from `config/production.rb` (Rails only) +* For Rails apps only: + * Remove `gem 'logstasher'` from your Gemfile + * Remove all `config.logstasher.*` configs from `config/environments/production.rb` + * If the app has a `config/initializers/logstash.rb` remove it + * If the app has any of the following (likely in `config/environments/production.rb`), remove it: + ```rb + # Use default logging formatter so that PID and timestamp are not suppressed. + config.log_formatter = ::Logger::Formatter.new + + # Use a different logger for distributed setups. + # require 'syslog/logger' + config.logger = ActiveSupport::TaggedLogging.new(Logger.new($stderr)) + + $real_stdout = $stdout.clone + $stdout.reopen($stderr) + ``` ## 0.3.0 * Add `time` and `gauge` to `GovukStatsd` * Add `GovukError.configure` as an alias to `Raven.configure`