Wusage: Silly Name, Serious Stats!

Wusage 8.0 Manual

logfiles Option

To reach this option in the configuration file editor, follow these steps:

1. Edit Configuration
2. Log Files and Directories...

If you prefer to manually edit your configuration files, use the following syntax for this option. Notice that * wild cards are permitted in the last component of the path:

logfiles
/path/to/first/file/or/directory
/path/to/second/file/or/directory
/path/to/log/files/prefix*
end logfiles

Example
#First example: typical IIS configuration with an entire directory of logs
logfiles
C:/WINNT/SYSTEM32/LOGFILES/W3SVC1
end logfiles
#Second example: typical Apache configuration with one log file
logfiles
/etc/httpd/logs/access_log
end logfiles
#Third example: Apache configuration with many log files in a 
#directory that also contains unrelated files. Note the use of a *
#wildcard to pick up all files beginning with access_log
logfiles
/etc/httpd/logs/access_log*
end logfiles
#Fourth example: fetch log files via FTP from directories
#on three mirror servers
logfiles
ftp://account:password@mirror1.mycompany.com/logs/
ftp://account:password@mirror2.mycompany.com/logs/
ftp://account:password@mirror3.mycompany.com/logs/
end logfiles
Description

Wusage needs a source of web server log data in order to produce reports. The Log Files and Directories (logfiles) option is used to indicate where the log data should be found.

The Log Files and Directories (logfiles) option allows more than one log file location to be specified. Any combination of directories and individual files may be specified using this option. Wusage will analyze all of the log files found.

Note that, in addition to ordinary file paths, http: and ftp: URLs can also be specified. Using the configuration editor, one can conveniently browse both FTP sites and web sites to locate log files. This powerful feature allows administrators of large web sites to fetch log files from multiple mirror servers, via FTP or HTTP.

Beginning in Wusage 8.0, it is also possible to use the * and ? wildcards in the last component of the path. For example:

/home/www/logs/access_log*

Matches all filenames in the /home/www/logs/ directory that begin with access_log.

The * wildcard matches any number of characters. The less frequently used ? wildcard matches a single character. Wildcards are permitted in the last component of the path only (after the last / or \ in the path).


Table of Contents
Topical Configuration Editor Reference
Alphabetical Configuration Editor Reference
Alphabetical Configuration File Reference
Glossary of Frequently Used Terms

Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, Boutell.Com, Inc.
wusage@boutell.com
Boutell.Com, Inc - PO Box 16716, Seattle WA, 98116, USA
Phone/Fax +1 206 658-8176
Copyright Statement

All material, including images, on this web site is Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, Boutell.Com, Inc. unless otherwise noted.
Need more information? Wondering who to contact? Visit our whom page.

Boutell.Com, Inc.
PO Box 16716
Seattle WA 98116
USA
+1 206 658 8176