【发布时间】:2026-02-25 16:50:01
【问题描述】:
Started GET "/home" for 117.55.68.xxx at 2012-11-05 22:56:06 +0900
Processing by PageController#home as HTML
Parameters: {"id"=>"420"}
Started POST "/login" for 61.211.5.107 at 2012-11-05 23:25:52 +0900
Processing by UsersController#login as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"xxxxxxx=", "username"=>"***DELETED***", "password"=>"***DELETED***", "commit"=>"login"}
Rendered users/login.html.haml within layouts/application (6.7ms)
Completed 200 OK in 142ms (Views: 103.5ms | ActiveRecord: 0.0ms)
我正在使用乘客 3.0.11。 我遇到过日志不写的问题。 当未输出“已完成”时会发生这种情况。 不输出“Completed”后,20-40分钟不写日志。
有人知道吗?
【问题讨论】:
-
这可能是 Rails 记录器问题。我使用的是 Rails3.2.0,但是当 Rails 版本升级到 3.2.8 时它解决了。见github.com/rails/rails/issues/4277。