setup_params(config, req, res) public

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 %

Show source
Register or log in to add new notes.