Installation
============

First 'make', and if it build correctly do a 'make install'. The
executable 'logtool' will be placed in /usr/local/bin.


Configuration
=============

Example files can be found in the config/ directory. Default
place for 'logtoolrc' is in /etc.
Enter the path to your log file, and other options in this
file.


Support files
=============

All .gifs in the image/ directory are referenced in the resulting
.html files as /image/xxxx.gif; make sure you install them in
your $HTMLDOCUMENTROOT/image directory.

To get country names the file 'isocodes.txt' must be in the
working directory when logtool executes. Either hardcode a path
to isocodes.txt, or make sure it's in the right place.


How to use it - command line options
====================================

All options can be (and should) be specified in '/etc/logtoolrc'.


Usage: logtool [options] <log file>
 -cf		use specified config file (default /etc/logtoolrc)
		(using -cf will ignore rest of input parameters)
 -output	html docs output dir
 -interface	www server IP address(es)
 -hostname      www server host name without domain (obelix)
 -alias	 	www server alias(es)
 -domain	domain name
 -single	only read first line of log file, then stop
 -resolve	resolve ip addresses (default off)
 -timespan	in hours
