logfile.ini [AccessLogFileSettings]
The block [AccessLogFileSettings] of settings/logfile.ini, with 7 setting(s).
Never edit settings/logfile.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:
settings/override/logfile.ini.append.phpfor every siteaccess,settings/siteaccess/<siteaccess>/logfile.ini.append.phpfor one siteaccess,extension/<extension>/settings/logfile.ini.append.phpin an extension (read when the extension is active).
StorageDir
The access log of a siteaccess. Set it in settings/override for a log every siteaccess shares,
or in settings/siteaccess/<siteaccess>/logfile.ini.append.php for a log of one siteaccess.
Storage of the log file, for example /var/log/httpd
Do not add trailing slash
Default: empty.
# settings/override/logfile.ini.append.php
[AccessLogFileSettings]
StorageDir=
*/ ?>LogFileName
The name of log file, for example mytest.log
Default: empty.
# settings/override/logfile.ini.append.php
[AccessLogFileSettings]
LogFileName=
*/ ?>SitePrefix
If using site match by URL, the site may like http://siteurl/mysite and
apache log will start with for example mysite/content/view/full/node_id. To
remove this prefix in apache log before analysis the log, add mysite to
SitePrefix. Example: SitePrefix[]=mysite
Only a whole first path element is removed. When several counted siteaccesses share the log,
the siteaccess matching removes the siteaccess's part of the path instead.
Default: a list of 1: ``.
# settings/override/logfile.ini.append.php
[AccessLogFileSettings]
# an empty "SitePrefix[]" first replaces the shipped list; without it the items are added
SitePrefix[]
SitePrefix[]=
*/ ?>PathPrefix
If any site accesses use the PathPrefix setting, enter them here
A path is looked up with each prefix in front first, then as it is. Empty: the PathPrefix
of the siteaccess's site.ini [SiteAccessSettings].
Default: a list of 1: ``.
# settings/override/logfile.ini.append.php
[AccessLogFileSettings]
# an empty "PathPrefix[]" first replaces the shipped list; without it the items are added
PathPrefix[]
PathPrefix[]=
*/ ?>Host
The host the log's requests were made to, for the siteaccess matching, when its lines do not
name one (the common and combined formats do not; vhost_combined does). Example: www.example.com
Default: empty.
# settings/override/logfile.ini.append.php
[AccessLogFileSettings]
Host=
*/ ?>Port
The port of the log's requests, for MatchOrder=port. Empty: 80.
Default: empty.
# settings/override/logfile.ini.append.php
[AccessLogFileSettings]
Port=
*/ ?>Hosts
Only lines of these hosts are counted for the siteaccess (a line that names no host takes
Host). Empty: every host. Example: Hosts[]=www.example.com
Default: an empty list.
# settings/override/logfile.ini.append.php
[AccessLogFileSettings]
# an empty "Hosts[]" first replaces the shipped list; without it the items are added
Hosts[]
*/ ?>Related
Generated by ./console exp:help:examples from settings/logfile.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.