RE: LOGFORMAT Command - Help

"Dan Agnew" <[email protected]>
Newsgroups gmane.comp.web.analog.general
Message-ID <000f01c801b2$194be5b0$4be3b110$@com>
Aengus
Works perfectly, thanks for your help
Dan

Dan Agnew

Email / [email protected]

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Aengus
Sent: 27 September 2007 16:55
To: Support for analog web log analyzer
Subject: Re: [analog-help] LOGFORMAT Command - Help

Dan Agnew <[email protected]> wrote:

> LOGFORMAT (%S : [%d/%M/%Y:%h:%n:%j %j] %s - - " %j %r %j" %c %b "%f"
> "%b")
>
> LOGFILE C:\user\logfiles\ex070926.log
>
> OUTFILE C:\user\analog\reports\Report.html
>
> HOSTNAME "[MyHost]"
>
> When analog runs I get the following warning – “Warning F: Can't
> auto-detect format of  logfile C:\user\logfiles\ex070926.log:
> ignoring it” een though I’ve tried to specifiy a logformt command.

I also get the following warning -
analog: Warning C: Bad argument in configuration command: ignoring it:
  LOGFORMAT (%S : [%d/%M/%Y:%h:%n:%j %j] %s - - " %j %r %j" %c %b "%f" 
"%b")
analog: ...cont..:   (reason: one item occurs twice in format)

You have %b twice in your logfile - that last field should be "%B", not 
"%b".

You also have some extraneous spaces in your LOGFORMAT - try this 
instead:

LOGFORMAT (%S: [%d/%M/%Y:%h:%n:%j %j] %s - - "%j %r %j" %c %b "%f" "%B")

I'd also guess that the first %S should really be %v.

Aengus


+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.488 / Virus Database: 269.13.33/1034 - Release Date: 27/09/2007
17:00
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.488 / Virus Database: 269.13.33/1034 - Release Date: 27/09/2007
17:00
 


+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.