Great Circle Associates Majordomo-Workers
(January 1998)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: The majordomo log file... (1.94.4) two items
From: Dave Wolfe <dwolfe @ risc . sps . mot . com>
Date: Tue, 20 Jan 1998 08:17:56 -0600 (CST)
To: tibbs @ hpc . uh . edu (Jason L Tibbitts III)
Cc: majordomo-workers @ greatcircle . com
In-reply-to: <ufahg6z7bov.fsf@sina.hpc.uh.edu> from "Jason L Tibbitts III" at Jan 20, 98 03:10:40 am

[ Jason L Tibbitts III writes: ]
> 
>  right now an entry looks like (it's tab separated):
> 
> test-list^Iwho^Itibbs@morpheus.hpc.uh.edu^I^Iwho test-list^Ishell^I1^I1^I884333935
> 
> which isn't terribly useful for basic perusal, I suppose. My intent
> is to use the log for report generation; the goal is to make
> everything accessible remotely, even logging info. Thus I use a more
> machine-readable format.

I'd like to put in a plug for a CLF (Common Log Format) feature
worthy of consideration. Specifically, using '-' for unknown fields
instead of null (i.e. paired delimiters). That has its advantages for
machine parsing. IMO, tabs, while they lend some advantage to wetware
readability, are inferior to "whitespace" between fields which allows
pretty printing without destroying the basic format or parsability.
Using placeholders for fields allows multiple delimiters like that.
In fairness, one disadvantage is that whitespace embedded in fields
requires the field to be quoted, but embedded field delimiters is also a
(unaddressed) failing of strict character-delimited formats.

Other web server (specifically Apache) log file features might also be
worthy of consideration.

-- 
 Dave Wolfe


Follow-Ups:
References:
Indexed By Date Previous: Re: The majordomo log file... (1.94.4) two items
From: Dave Wolfe <dwolfe@risc.sps.mot.com>
Next: Re: The majordomo log file... (1.94.4) two items
From: tneff@panix.com (Tom Neff)
Indexed By Thread Previous: Re: The majordomo log file... (1.94.4) two items
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Next: Re: The majordomo log file... (1.94.4) two items
From: "Brian L. Heess" <dmbong@commline.com>

Google
 
Search Internet Search www.greatcircle.com