http_logger – HTTP Requests and Responses

March 26, 2020

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


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/"

The following is the configuration option defined by this module:


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

For details about the format of, see httplog.

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