lib/stub/server.rb in cf-uaac-1.3.4 vs lib/stub/server.rb in cf-uaac-1.3.6
- old
+ new
@@ -174,10 +174,10 @@
if server.root
return default_route unless request.path.start_with?(server.root)
request.path.slice!(0..server.root.length - 1)
end
@match, handler = self.class.find_route(request)
- server.logger.debug "processing request to path #{request.path} for route #{@match ? @match.regexp : 'default'}"
+ server.logger.debug "processing #{request.method} to path #{request.path}"
send handler
reply.headers['connection'] ||= request.headers['connection'] if request.headers['connection']
server.logger.debug "replying to path #{request.path} with #{reply.body.length} bytes of #{reply.headers['content-type']}"
#server.logger.debug "full reply is: #{reply.body.inspect}"
rescue Exception => e