lib/angelo.rb in angelo-0.1.21 vs lib/angelo.rb in angelo-0.1.22
- old
+ new
@@ -46,11 +46,11 @@
CONTENT_TYPE_HEADER_KEY => HTML_TYPE
}
NOT_FOUND = 'Not Found'
- LOG_FORMAT = '%s - - "%s %s%s HTTP/%s" %d %s'
+ LOG_FORMAT = '%s - - "%s %s HTTP/%s" %d %s'
DEFAULT_PING_TIME = 30
UNDERSCORE = '_'
DASH = '-'
@@ -82,11 +82,10 @@
}
Celluloid::Logger.__send__ Angelo.response_log_level, LOG_FORMAT % [
remote_ip[],
request.method,
- request.path,
- request.query_string.nil? ? nil : '?'+request.query_string,
+ request.url,
request.version,
Symbol === status ? HTTP::Response::SYMBOL_TO_STATUS_CODE[status] : status,
body_size
]