* suppressing the reams of asset logging in development

This commit is contained in:
Seth Call 2013-07-15 14:47:17 -05:00
parent e6e99c8829
commit 48aaf8b061
3 changed files with 7 additions and 1 deletions

View File

@ -54,6 +54,8 @@ gem 'postgres-copy'
# gem 'libv8', "~> 3.11.8"
#end
gem 'quiet_assets', :group => :development
group :development, :test do
gem 'rspec-rails'
gem 'guard-rspec', '0.5.5'

View File

@ -33,7 +33,7 @@ SampleApp::Application.configure do
config.assets.compress = false
# Expands the lines which load the assets
config.assets.debug = true
config.assets.debug = false
# Set the logging destination(s)
config.log_to = %w[stdout file]

View File

@ -101,6 +101,10 @@ Logging::Rails.configure do |config|
# the file descriptors after forking ensures that each worker has a unique
# file descriptor.
#
Logging.logger['ActiveSupport::Cache::FileStore'].level = :info
Logging.logger['ActiveSupport::OrderedOptions'].level = :warn
if defined?(PhusionPassenger)
PhusionPassenger.on_event(:starting_worker_process) do |forked|
Logging.reopen if forked