Skip to content

Commit

Permalink
more configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Liam Bowen committed May 4, 2017
1 parent 0c3d855 commit a60dfba
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion Gemfile
Expand Up @@ -25,7 +25,6 @@ gem 'pg'
gem 'postrank-uri'
gem 'pry-rails'
gem 'quiet_assets'
gem 'rails_stdout_logging'
gem 'rb-readline', '~> 0.5.0', require: false
gem 'redcarpet'
gem 'redis', '~> 3.0.0'
Expand Down
2 changes: 0 additions & 2 deletions Gemfile.lock
Expand Up @@ -212,7 +212,6 @@ GEM
rails-deprecated_sanitizer (>= 1.0.1)
rails-html-sanitizer (1.0.3)
loofah (~> 2.0)
rails_stdout_logging (0.0.1)
railties (4.2.5)
actionpack (= 4.2.5)
activesupport (= 4.2.5)
Expand Down Expand Up @@ -443,7 +442,6 @@ DEPENDENCIES
pry-rails
quiet_assets
rails (~> 4.2.0)
rails_stdout_logging
rb-readline (~> 0.5.0)
redcarpet
redis (~> 3.0.0)
Expand Down
3 changes: 1 addition & 2 deletions config/environments/production.rb
Expand Up @@ -14,7 +14,6 @@
# config.action_dispatch.rack_cache = true

config.serve_static_files = true

config.static_cache_control = 'public, max-age=31536000'

# Compress JavaScripts and CSS.
Expand Down Expand Up @@ -53,7 +52,7 @@
# Send deprecation notices to registered listeners.
config.active_support.deprecation = :notify
# config.autoflush_log = false
config.log_formatter = ::Logger::Formatter.new
config.lograge.formatter = Lograge::Formatters::Logstash.new
config.lograge.enabled = true
config.lograge.custom_options = lambda do |event|
{
Expand Down

0 comments on commit a60dfba

Please sign in to comment.