aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/rack/log_tailer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/rails/rack/log_tailer.rb')
-rw-r--r--railties/lib/rails/rack/log_tailer.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/rack/log_tailer.rb b/railties/lib/rails/rack/log_tailer.rb
index 077311be3c..3fa45156c3 100644
--- a/railties/lib/rails/rack/log_tailer.rb
+++ b/railties/lib/rails/rack/log_tailer.rb
@@ -13,11 +13,11 @@ module Rails
def call(env)
response = @app.call(env)
- tail_log
+ tail!
response
end
- def tail_log
+ def tail!
@file.seek @cursor
mod = @file.mtime.to_f