[EMAIL PROTECTED] ([EMAIL PROTECTED]; Thursday, July 04, 2002 2:36 AM):
> My httpd.conf contained the following lines: > LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %U > %T %v" common > My analog.cfg file contained the following lines : > APACHELOGFORMAT ("%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" > \"%{User-Agent}i\"%U %T %v") > LOGFILE c:/log/*.log > And Analog can't detect the format automatically. > I have several error messages : > >---------------------------------------------------------------------------------------------------- > analog: analog version 5.24/Win32 > analog: Warning C: Bad argument in configuration command: ignoring it: > APACHELOGFORMAT -> LOGFORMAT ("%S %j %u [%d/%M/%Y:%h:%n:%j] > "%j%w%r%wHTTP%j" > %c %b "%f" "%B"%r %t %v") > analog: ...cont..: (reason: one item occurs twice in format) > (For help on all errors and warnings, see docs/errors.html) The first error tells you the problem: Analog found two occurrences of an item and doesn't know which one to use. Try this (one line): LOGFORMAT ("%S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B" %j %t %v") Also note that you were missing a space between \"%{User-Agent}i\" and %U. -- 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 +------------------------------------------------------------------------