Silence logger initialization

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson
2005-09-03 23:05:58 +00:00
parent 3f14b1e94e
commit 558707f61a
3 changed files with 7 additions and 3 deletions

View File

@@ -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

View File

@@ -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)

View File

@@ -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