[analog-help] LOGFORMAT Command - Help
Aengus
analog07 at eircom.net
Thu Sep 27 08:54:52 PDT 2007
Dan Agnew <dmagnew at gmail.com> 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 Ive 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
More information about the analog-help
mailing list