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)
analog: Warning L: Large number of corrupt lines in logfile
  c:/log/Carrefour/access-dos.log: turn debugging on or try different LOGFORMAT
    Current logfile format:
      %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B"\n
      %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B"\n
      %S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B"\n
-------------------------------------------------------------------------------------------------------

Can someone help me to configure analog.cfg file configuration

Christophe

Reply via email to