Lee Thomas ([EMAIL PROTECTED]):
> I have an IIS log file that looks like this:
> 02:04:36 152.163.188.41 GET /default.asp 200
> I have a LOGFORMAT string that looks like this:
> LOGFORMAT (%h:%n:%j %s %j %j %j)
> I get an error that looks like this:
> D:\analog\analog 5.01>analog
> analog: analog version 5.01/Win32
> analog: Warning C: Bad argument in configuration command: ignoring it:
> LOGFORMAT "%h:%n:%j %S %j %j %j"
> What the heck am I doing wrong??
First, you need the date AND time in your log files, as Analog said:
> analog: ...cont..: (reason: time without date or vice versa)
> (For help on all errors and warnings, see docs/errors.html)
Second, you probably want to count the request, right? Try something
like this (and add the date)
LOGFORMAT (%h:%n:%j %s %j %r %j)
> I noticed that the error lists an upper-case 'S' but the parameter is
> lowercase in analog.cfg. I'm not sure if that's a bug.
Depends on what you mean. See docs/logfmt.html.
--
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/[email protected]/
| http://lists.isite.net/listgate/analog-help/archives/
| http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------