1:- module(conf_logging, []). 2:- use_module(library(settings)).
11 /******************************* 12 * LOGGING * 13 *******************************/ 14 15% Log HTTP traffic to httpd.log. Logging may seriously affect 16% performance on servers that handle many tiny requests. 17 18:- use_module(library(http/http_log)). 19 20% Set the default name of the logfile. Setting it to '' disables logging 21% Creating the logfile in a directory is preferred if the service is not 22% running under the same user as the owner of the sources. 23 24:- set_setting_default(http:logfile, 'log/httpd.log').
Configure logging of HTTP traffic
Configure logging of HTTP traffic.