lib/angelo.rb in angelo-0.1.5 vs lib/angelo.rb in angelo-0.1.6

- old
+ new

@@ -45,9 +45,13 @@ LOG_FORMAT = '%s - - "%s %s%s HTTP/%s" %d %s' DEFAULT_PING_TIME = 30 + UNDERSCORE = '_' + DASH = '-' + EMPTY_STRING = '' + def self.log connection, request, socket, status, body_size = '-' remote_ip = ->{ if socket.nil? connection.remote_ip rescue 'unknown'