Silk Stockings Ltd (Lawrence Roe) ([EMAIL PROTECTED]):
> My httpd.conf file advises my log file is written in the following > formats > LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" > combined > LogFormat "%h %l %u %t \"%r\" %>s %b" common > LogFormat "%{Referer}i -> %U" referer > LogFormat "%{User-agent}i" agent These are LogFormat definitions for Apache. To find out what format the log file is actually being written in you also need to look at the CustomLog line. It could be one of these named types or an explicit format. > But no matter how I enter this data in the analog.cfg file I receive an > error when I run analogue advising the logfile format is incorrect. > I have also tried the standard apache formats listed in the help and > errors files also and I have changed the " to a ( etc Make sure you are only looking at the access log. Analog won't parse the error logs and you don't need it too -- all the information is also in access logs in a more computer-readable format. If you have older logs that were created in other formats, Analog may not understand those immediately. Check the names of the files that it says "incorrect format" for and make sure they are the same format as your current logs. > This is a single line from my log file, just in case it helps at all? > www.silk-stockings.co.uk 195.92.168.163 - - [31/Jan/2001:11:28:37 +0000] > "GET / HTTP/1.1" 500 723 "http://www.netcomuk.co.uk/index.htmll" > "Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90; Circle0701)" This is the 'combined' definition above. This format command will work for this line (make sure the command is all on one line): APACHELOGFORMAT (%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\") If you are specifying the log file from a different configuration file or from the command line then you need to use the DEFAULTAPACHELOGFORMAT command with the format string above. -- Jeremy Wadsack Wadsack-Allen Digital Group +------------------------------------------------------------------------ | This is the analog-help mailing list. To unsubscribe from this | mailing list, go to | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | List archives are available at | http://www.mail-archive.com/analog-help@lists.isite.net/ | http://lists.isite.net/listgate/analog-help/archives/ | http://www.tallylist.com/archives/index.cfm/mlist.7 +------------------------------------------------------------------------