From ad99a8c26433ef4f74ef15dcec583677b8ef0c7d Mon Sep 17 00:00:00 2001 From: Stefan Sundin Date: Tue, 2 Feb 2021 22:46:04 -0800 Subject: [PATCH] Enable clogger again, with an option to only send to a file. --- Gemfile | 2 +- Gemfile.lock | 3 +++ Vagrantfile | 2 +- config/initializers/05-logging.rb | 26 +++++++++++++++++--------- config/puma.rb | 2 +- 5 files changed, 23 insertions(+), 12 deletions(-) diff --git a/Gemfile b/Gemfile index 5d4ef23..9f40028 100644 --- a/Gemfile +++ b/Gemfile @@ -13,7 +13,7 @@ gem "redis" gem "addressable" gem "rack-ssl-enforcer" gem "secure_headers" -# gem "clogger" +gem "clogger" gem "heroku-env" gem "tzinfo" gem "nokogiri" diff --git a/Gemfile.lock b/Gemfile.lock index c77101a..9ee20d7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -14,6 +14,8 @@ GEM airbrake-ruby (~> 5.1) airbrake-ruby (5.2.0) rbtree3 (~> 0.5) + clogger (2.3.0) + rack (>= 1.0, < 3.0) coderay (1.1.3) concurrent-ruby (1.1.8) crass (1.0.6) @@ -91,6 +93,7 @@ PLATFORMS DEPENDENCIES addressable airbrake + clogger dotenv feedjira github-release-party diff --git a/Vagrantfile b/Vagrantfile index f4443fd..e2e3280 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -13,7 +13,7 @@ $env = <