setup_params

setup_params(config, req, res)
Instance Public methods

This format specification is a subset of mod_log_config of Apache:

%a

Remote IP address

%b

Total response size

%e{variable}

Given variable in ENV

%f

Response filename

%h

Remote host name

%{header}i

Given request header

%l

Remote logname, always â-â

%m

Request method

%{attr}n

Given request attribute from req.attributes

%{header}o

Given response header

%p

Server's request port

%{format}p

The canonical port of the server serving the request or the actual port or the client's actual port. Valid formats are canonical, local or remote.

%q

Request query string

%r

First line of the request

%s

Request status

%t

Time the request was recieved

%T

Time taken to process the request

%u

Remote user from auth

%U

Unparsed URI

%%

Literal %

doc_ruby_on_rails
2015-06-11 10:16:47
Comments
Leave a Comment

Please login to continue.