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