mirror of
https://github.com/github/rails.git
synced 2026-01-26 06:48:59 -05:00
Silence logger initialization
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -4,4 +4,6 @@ require File.join(File.dirname(__FILE__), 'boot')
|
||||
|
||||
Rails::Initializer.run do |config|
|
||||
# See Rails::Configuration for options
|
||||
end
|
||||
end
|
||||
|
||||
# Include your application configuration below
|
||||
@@ -1,5 +1,5 @@
|
||||
# Add your own tasks in files placed in config/tasks
|
||||
# and they will automatically be available to Rake.
|
||||
# Add your own tasks in files placed in config/tasks ending in .rake,
|
||||
# for example config/tasks/switchtower.rake, and they will automatically be available to Rake.
|
||||
|
||||
require(File.join(File.dirname(__FILE__), 'config', 'boot'))
|
||||
Rails::Initializer.run(:set_load_path)
|
||||
|
||||
@@ -73,7 +73,9 @@ module Rails
|
||||
)
|
||||
end
|
||||
|
||||
old_verbose, $VERBOSE = $VERBOSE, nil
|
||||
Object.const_set "RAILS_DEFAULT_LOGGER", logger
|
||||
$VERBOSE = old_verbose
|
||||
end
|
||||
|
||||
def initialize_framework_logging
|
||||
|
||||
Reference in New Issue
Block a user