lib/rack/logstasher/logger.rb in rack-logstasher-1.0.1 vs lib/rack/logstasher/logger.rb in rack-logstasher-1.0.2
- old
+ new
@@ -11,10 +11,10 @@
end
private
def log(env, status, response_headers, began_at)
- now = Time.now
+ now = Utils.clock_time
data = {
:method => env["REQUEST_METHOD"],
:path => env["PATH_INFO"],
:query_string => env["QUERY_STRING"],