diff options
author | José Valim <jose.valim@gmail.com> | 2010-01-15 10:46:30 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-01-15 12:24:31 +0100 |
commit | b0994be5bd24559f1362a636b46271de6d6a92d6 (patch) | |
tree | e74234e7f473f8277e4393bd347f2ceab9dbe069 /railties/lib/rails/rack | |
parent | b4019d5080181a911f8652cabd184794963911b6 (diff) | |
download | rails-b0994be5bd24559f1362a636b46271de6d6a92d6.tar.gz rails-b0994be5bd24559f1362a636b46271de6d6a92d6.tar.bz2 rails-b0994be5bd24559f1362a636b46271de6d6a92d6.zip |
LogTailer should be invoked after all logs in threads were flushed.
Diffstat (limited to 'railties/lib/rails/rack')
-rw-r--r-- | railties/lib/rails/rack/log_tailer.rb | 4 |
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 |