mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
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)
|
call_next(context)
|
||||||
elapsed_text = elapsed_text(Time.now - time)
|
elapsed_text = elapsed_text(Time.now - time)
|
||||||
@handler << time << " " << context.response.status_code << " " << context.request.method << " " << context.request.resource << " " << elapsed_text << "\n"
|
@handler << time << " " << context.response.status_code << " " << context.request.method << " " << context.request.resource << " " << elapsed_text << "\n"
|
||||||
@handler.rewind
|
|
||||||
context
|
context
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue