Skip to content

Commit

Permalink
Issue #80: Access logging
Browse files Browse the repository at this point in the history
Update fabio.properties
  • Loading branch information
magiconair committed Apr 4, 2017
1 parent d0ca576 commit a4398eb
Showing 1 changed file with 53 additions and 48 deletions.
101 changes: 53 additions & 48 deletions fabio.properties
Original file line number Diff line number Diff line change
Expand Up @@ -371,69 +371,74 @@
# proxy.gzip.contenttype =


# proxy.log.routes configures the log output format of routing table updates.
# log.access.format configures the format of the access log.
#
# Changes to the routing table are written to the standard log. This option
# configures the output format:
# Options are 'common' or 'combined' for either the common
# or combined access log file format. The are defined as follows:
#
# delta: additions and deletions
# all: complete routing table
# 'common': $remote_host - - [$time_common] "$request" $response_status $response_body_size
# 'combined': $remote_host - - [$time_common] "$request" $response_status $response_body_size "$header.Referer" "$header.User-Agent"
#
# The default is
# Alternatively, a custom format can be specified with
# the following parameters:
#
# proxy.log.routes = delta


# proxy.log.target configures where the access log is written to.
# header.<name> - request http header (name: [a-zA-Z0-9-]+)
# remote_addr - host:port of remote client
# remote_host - host of remote client
# remote_port - port of remote client
# request - request <method> <uri> <proto>
# request_args - request query parameters
# request_host - request host header (aka server name)
# request_method - request method
# request_scheme - request scheme
# request_uri - request URI
# request_url - request URL
# request_proto - request protocol
# response_body_size - response body size in bytes
# response_status - response status code
# response_time_ms - response time in S.sss format
# response_time_us - response time in S.ssssss format
# response_time_ns - response time in S.sssssssss format
# time_rfc3339 - log timestamp in YYYY-MM-DDTHH:MM:SSZ format
# time_rfc3339_ms - log timestamp in YYYY-MM-DDTHH:MM:SS.sssZ format
# time_rfc3339_us - log timestamp in YYYY-MM-DDTHH:MM:SS.ssssssZ format
# time_rfc3339_ns - log timestamp in YYYY-MM-DDTHH:MM:SS.sssssssssZ format
# time_unix_ms - log timestamp in unix epoch ms
# time_unix_us - log timestamp in unix epoch us
# time_unix_ns - log timestamp in unix epoch ns
# time_common - log timestamp in DD/MMM/YYYY:HH:MM:SS -ZZZZ
# upstream_addr - host:port of upstream server
# upstream_host - host of upstream server
# upstream_port - port of upstream server
# upstream_request_scheme - upstream request scheme
# upstream_request_uri - upstream request URI
# upstream_request_url - upstream request URL
#
# The default is
#
# log.access.format = common


# log.access.target configures where the access log is written to.
#
# Options are 'stdout'. If the value is empty no access log is written.
#
# The default is
#
# proxy.log.target =
# log.access.target =


# proxy.log.format configures the format of the access log.
# log.routes.format configures the log output format of routing table updates.
#
# Options are 'common' or 'combined' for either the common
# or combined access log file format. The are defined as follows:
# Changes to the routing table are written to the standard log. This option
# configures the output format:
#
# 'common': $remote_host - - [$time_common] "$request" $response_status $response_body_size
# 'combined': $remote_host - - [$time_common] "$request" $response_status $response_body_size "$header.Referer" "$header.User-Agent"
# delta: additions and deletions
# all: complete routing table
#
# Alternatively, a custom format can be specified with
# the following parameters:
# The default is
#
# header.<name> - request http header (name: [a-zA-Z0-9-]+)
# remote_addr - host:port of remote client
# remote_host - host of remote client
# remote_port - port of remote client
# request - request <method> <uri> <proto>
# request_args - request query parameters
# request_host - request host header (aka server name)
# request_method - request method
# request_uri - request URI
# request_proto - request protocol
# response_body_size - response body size in bytes
# response_status - response status code
# response_time_ms - response time in S.sss format
# response_time_us - response time in S.ssssss format
# response_time_ns - response time in S.sssssssss format
# time_rfc3339 - log timestamp in YYYY-MM-DDTHH:MM:SSZ format
# time_rfc3339_ms - log timestamp in YYYY-MM-DDTHH:MM:SS.sssZ format
# time_rfc3339_us - log timestamp in YYYY-MM-DDTHH:MM:SS.ssssssZ format
# time_rfc3339_ns - log timestamp in YYYY-MM-DDTHH:MM:SS.sssssssssZ format
# time_unix_ms - log timestamp in unix epoch ms
# time_unix_ms - log timestamp in unix epoch us
# time_unix_ns - log timestamp in unix epoch ns
# time_common - log timestamp in DD/MMM/YYYY:HH:MM:SS -ZZZZ
# upstream_addr - host:port of upstream server
# upstream_host - host of upstream server
# upstream_port - port of upstream server
#
# The default is
#
# proxy.log.format = common
# log.routes.format = delta


# registry.backend configures which backend is used.
Expand Down

0 comments on commit a4398eb

Please sign in to comment.