aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/paths.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2008-08-18 22:38:58 -0500
committerJoshua Peek <josh@joshpeek.com>2008-08-18 23:36:13 -0500
commitc1a8690d582c08777055caf449c03f85b4c8aa4b (patch)
treeaa88127d58845658f32fb9284b0f837f13700800 /actionpack/lib/action_view/paths.rb
parenta4da8175a2c989104de1a38e43d5ddfb0f89b055 (diff)
downloadrails-c1a8690d582c08777055caf449c03f85b4c8aa4b.tar.gz
rails-c1a8690d582c08777055caf449c03f85b4c8aa4b.tar.bz2
rails-c1a8690d582c08777055caf449c03f85b4c8aa4b.zip
Consistently use the framework's configured logger and avoid reverting to RAILS_DEFAULT_LOGGER unless necessary.
Diffstat (limited to 'actionpack/lib/action_view/paths.rb')
-rw-r--r--actionpack/lib/action_view/paths.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/paths.rb b/actionpack/lib/action_view/paths.rb
index d97f963540..6a118a1cfa 100644
--- a/actionpack/lib/action_view/paths.rb
+++ b/actionpack/lib/action_view/paths.rb
@@ -3,7 +3,7 @@ module ActionView #:nodoc:
def self.type_cast(obj)
if obj.is_a?(String)
if Base.warn_cache_misses && defined?(Rails) && Rails.initialized?
- Rails.logger.debug "[PERFORMANCE] Processing view path during a " +
+ Base.logger.debug "[PERFORMANCE] Processing view path during a " +
"request. This an expense disk operation that should be done at " +
"boot. You can manually process this view path with " +
"ActionView::Base.process_view_paths(#{obj.inspect}) and set it " +