On Tuesday, December 20, 2005 8:37 AM [EDT],
Bucko, Raymond <[EMAIL PROTECTED]> wrote:

>> But you've now changed the default for the Request Report from
>> Requests to Bytes, so that the sorting of the top level of the Rquest
>> Report no longer matches the sort order of the arguments, and the
>> FLOOR. You can fix this by specifying REQARGSORTBY bytes REQFLOOR 1b
>>
>> (You might need REQARGSFLOOR as well at that point).
>>
>> Again, you might not care, (I usually ignore these warnings if I'm
>> doing a quick one-off report), but if you're setting up a report to
>> run regularly, then it makes sense to set the subsortorders and
>> floors if you are changing the defaults.
>
> ---------------------------------------
>
> I'm afraid I got totally lost from all of the above -- how about this:
>
> I want everything to show as requests rather than as bytes.
>
> Here is the config I cobbled together on what I think you said:
>
> # sorting
> DIRSORTBY REQUESTS
> REQSORTBY REQUESTS
> REQARGSORTBY REQUESTS
> REQFLOOR REQUESTS

A "FLOOR" is a minimum mount that will exclude any entries that fall below
it. So REQFLOOR REQUESTS doesn't make any sense. You hve to specify an
amount.
http://analog.cx/docs/othreps.html#FLOOR

If you only want the 10 most requested items (by requests), you'd specify
REQFLOOR -10r. If you If you wanted only pages that had been requested 100
times, you'd specify REQFLOOR 100p (pages, not requests). Obviously a floor
of 1b includes every request, as does a floor of 1r.

So "REQFLOOR REQUESTS" generates the self-explanatory warning - "Bad
argument in configuration command: REQFLOOR REQUESTS"

> REQARGSFLOOR REQUESTS

Ditto.

>  Here are the errors I still get (which will probably not surprise
> you):

They're not errors, they're warnings! It's not wrong to sort the top level
by Requests, and the sublevel by Bytes. Analog is simply pointing out that
you might not have realized that you are doing this, and that it might not
be what you want to do. BUt then again, maybe it is what you want to do, or
maybe you just don't care.

> J:\Bucko\Web Work\puffinlog\analog.exe: Warning C: Bad argument in
>   configuration command: ignoring it:
>   REQFLOOR REQUESTS
> J:\Bucko\Web Work\puffinlog\analog.exe: Warning C: Bad argument in
>   configuration command: ignoring it:
>   REQARGSFLOOR REQUESTS
> J:\Bucko\Web Work\puffinlog\analog.exe: Warning D: In Directory
> Report, SORTBY
>   (requests) doesn't match SUBSORTBY (bytes)
> J:\Bucko\Web Work\puffinlog\analog.exe: Warning D: In Directory
> Report, SORTBY
>   (requests) doesn't match FLOOR (bytes)

I covered this in my first reply - if you change the sortby at the top
level, you might want to change the sort order of the sublevels, and the
floor.

> How do I correct my sorting so that a) there are no warnings -- (I'd
> like to have a clearn file for daily updates) and b) where there is a
> sort by requests, it will sort at all levels by requests?

If you want to change the defaults, you will have to specify the changes at
any appropriate appropriate points. So if you change the DIRSORTBY, then
change the SUBDIRSORTBY and the DIRFLOOR and SUBDIRFLOOR.

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

Reply via email to