lib/refile/custom_logger.rb in leifcr-refile-0.7.1 vs lib/refile/custom_logger.rb in leifcr-refile-0.7.3
- old
+ new
@@ -1,11 +1,10 @@
require "rack/body_proxy"
module Refile
# @api private
class CustomLogger
- # LOG_FORMAT = %(%s: [%s] %s "%s%s" %d %0.1fms\n)
- LOG_FORMAT= %({"invoker": "%s", "time": "%s", "method": "%s", "path": "%s", "params": "%s", "status": %d, "duration": %0.1f})
+ LOG_FORMAT = %(%s: [%s] %s "%s%s" %d %0.1fms\n)
def initialize(app, prefix, logger_proc)
@app = app
@prefix = prefix
@logger_proc = logger_proc