[analog-help] New at this : why can't I get FROM and TO to work?

Jonathan D. Gilman tavieadmin at octavia.net
Sat May 5 11:13:12 PDT 2007


Aengus wrote:
> On Wednesday, May 02, 2007 12:23 AM [EDT],
> Jonathan D. Gilman <tavieadmin at octavia.net> wrote:
>
>> can't seem to get the FROM and TO syntax to work.  No matter what
>> dates I use, analog
>> always seems to be processing the last 7 days only:
>>
>> LOGFILE ..\octavia.net-Apr-2007
>> # LOGFILE C:\old\logs\access_log.*
>> #
>> FROM 070401
>> TO 070430
>> OUTFILE %Y%M.html
>> HOSTNAME "octavia.net"
>>
>> Results in this:
>>
>> Program started at Wed-02-May-2007 00:02.
>> Analysed requests from Mon-23-Apr-2007 18:54 to Mon-30-Apr-2007 09:38
>> (6.61 days).
>>
>> What am I missing?
>
> What do you get if you comment out your FROM Line? (Just put # in 
> front of it).

Okay.  I get the feeling that it must be the logformat given the output 
in the error.txt file:

analog.exe: Warning L: Large number of corrupt lines in logfile
  ..\octavia.net-Apr-2007: 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
analog.exe: Warning R: In Domain Report, turning off pie chart of only one
  wedge

Here some lines from the middle of the log file:

71.7.65.211 www.octavia.net - [03/Apr/2007:19:47:14 -0600] "GET 
/images/back.gif HTTP/1.1" 200 296 
"http://www.octavia.net/anglosaxon/earlyEnglishArchitecture.htm" 
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 
1.1.4322)" - 9575 69.89.27.250
71.7.65.211 www.octavia.net - [03/Apr/2007:19:47:14 -0600] "GET 
/images/anglosaxons.gif HTTP/1.1" 200 3065 
"http://www.octavia.net/anglosaxon/earlyEnglishArchitecture.htm" 
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 
1.1.4322)" - 9618 69.89.27.250
71.7.65.211 www.octavia.net - [03/Apr/2007:19:47:14 -0600] "GET 
/images/thedoor.gif HTTP/1.1" 200 10992 
"http://www.octavia.net/anglosaxon/earlyEnglishArchitecture.htm" 
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 
1.1.4322)" - 9575 69.89.27.250
71.7.65.211 www.octavia.net - [03/Apr/2007:19:48:49 -0600] "GET 
/anglosaxon/wattleanddaub.htm HTTP/1.1" 200 3730 
"http://www.octavia.net/anglosaxon/earlyEnglishArchitecture.htm" 
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 
1.1.4322)" - 9824 69.89.27.250

Hints on what I should set the logformat to would be greatly appreciated!

Thanks,

Jonathan


>
> 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
> +------------------------------------------------------------------------
>
>


-- 
Jonathan Gilman
tavieadmin at octavia.net




More information about the analog-help mailing list