Prev: Next: Up: ListenHTTP[Contents][Index]


9.9.4 Listener logging

Following statements are similar to the ones described in Logging configuration, but apply only to the listener they appear in.

ListenHTTP directive: LogLevel "name"
ListenHTTP directive: LogLevel n

Specify the format to use to log HTTP requests. name is a name of a custom format, defined earlier using the LogFormat directive, or one of six built-in format names.

If numeric argument is used, it refers to a built-in format by its number (0 through 5).

See Logging, for a detailed description of HTTP request logging.

ListenHTTP directive: ForwardedHeader "name"

Defines the name of the HTTP header that carries the list of proxies the request has passed through. Default value is X-Forwarded-For. This header is used to determine the originator IP address for logging. See %a, for details.

ListenerHTTP directive: TrustedIP

Defines a list of trusted proxy IP addresses, which is used to determine the originator IP. See %a, for details.