Skip to main content

http_logger – HTTP Requests and Responses

Last updated March 2020

The http_logger module enables logging of HTTP requests and responses made by the httpsrv Module.

Configuration

To configure the http_logger module, load it in the ecelerity.conf file. The following is the default configuration:

http_logger "http_logger"{
  log = "file:///var/log/ecelerity/httplog.ec"
}

The following is the configuration option defined by this module:

log

Define the logfile used by the http_logger. The default value for this option is file:///var/log/ecelerity/httplog.ec.

For details about the format of httplog.ec, see httplog.

The default log file created by this logger is rotated by the utility script ec_rotate. For more information, see ec_rotate.

Was this page helpful?