From: eldy <> Date: Sat, 25 Nov 2000 20:10:09 +0000 (+0000) Subject: Add PurgeLogFile option X-Git-Tag: AWSTATS_1_0~375 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdfbe3f36ed2f1768af13026a885f02732ef5919;p=thirdparty%2FAWStats.git Add PurgeLogFile option --- diff --git a/awstats.model.conf b/awstats.model.conf index ea938c47..c7593b22 100644 --- a/awstats.model.conf +++ b/awstats.model.conf @@ -14,7 +14,8 @@ # Example: "../logs/mycombinedlog.log" # Example: "/var/logs/httpd/myserver_access.log" # Example: "C:/WINNT/system32/LogFiles/W3SVC1/exyymm.log" -# With IIS and the next example, AWStats concat YYMM.log or YYMMDD.log at end. +# With IIS, AWStats can automatically concat YYMM.log or YYMMDD.log at end, +# so the following example is also good with IIS. # Example: "C:/WINNT/system32/LogFiles/W3SVC1/ex" # LogFile="/var/log/httpd/mylog.log" @@ -31,17 +32,17 @@ LogFormat=1 # Example: "/tmp" # Example: "../data" # Example: "C:/awstats_working_dir" -# Default: "." means same directory as awstats.pl +# Default: "." (means same directory as awstats.pl) DirData="." # Relative or absolute web URL of your awstats.pl directory. # Usefull only when AWStats is used from command line. -# Default: "/cgi-bin" means awstats.pl is in "yourwwwroot/cgi-bin" +# Default: "/cgi-bin" (means awstats.pl is in "/wwwroot/cgi-bin") # DirCgi="/cgi-bin" # Relative or absolute web URL of all icons subdirectories. -# Default: "/icon" means you must copy icons directories in "yourwwwroot/icon" +# Default: "/icon" (means you must copy icons directories in "/wwwroot/icon") # DirIcons="/icon" @@ -52,9 +53,24 @@ DirIcons="/icon" # DNSLookup=1 -# If AWStats can purge log after processing it, it will do so. You can however -# keep an archive file (saved in "DirData") of all processed log records by -# setting this to 1 (For example if you want to use another log analyzer). +# If AWStats can purge log after processing it. By this way, next time you +# will launch AWStats, log file will be smaller and processing time will be +# reduced. +# Possible values: 1 or 0 +# Default: 1 +# +# AWStats is able to find new lines in your log file to process only them, so +# you can launch it as soon as you want, even with this parameter configured +# to 0 but if you work with this value, you MUST make something to clean +# sometimes your logfile if your web server don't do it. +# +PurgeLogFile=1 + +# When PurgeLogFile is setup to 1, AWStats will clean your log file after +# processing it. You can however keep an archive file (saved in "DirData") of +# all processed log records by setting this to 1 (For example if you want to +# use another log analyzer). +# This parameter is not used if PurgeLogFile=0 # Possible values: 1 or 0 # Default: 0 #