]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Add PurgeLogFile option
authoreldy <>
Sat, 25 Nov 2000 20:10:09 +0000 (20:10 +0000)
committereldy <>
Sat, 25 Nov 2000 20:10:09 +0000 (20:10 +0000)
awstats.model.conf

index ea938c47b1e88592db8e226790edf07c78a22bd9..c7593b228541553f2849a0b1113d5a63541d9a33 100644 (file)
@@ -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
 #