No need to rewind STDOUT and File handler in CommonLogHandler
This commit is contained in:
parent
ae25d0a774
commit
9d84d51975
1 changed files with 0 additions and 1 deletions
|
@ -19,7 +19,6 @@ class Kemal::CommonLogHandler < Kemal::BaseLogHandler
|
|||
call_next(context)
|
||||
elapsed_text = elapsed_text(Time.now - time)
|
||||
@handler << time << " " << context.response.status_code << " " << context.request.method << " " << context.request.resource << " " << elapsed_text << "\n"
|
||||
@handler.rewind
|
||||
context
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue