> How about having a fully configurable log files, something
> that would understand escapes like this:
>
> Time:
> %a abbreviated weekday name
> %b abbreviated month name
[stuff deleted]
>
>
> ...and what else? I would be happy to implement this. Maybe the %letters
> could be selected in a better way and not respect the ones strftime()
> uses.
This sounds like a good idea. Currently, I am writing some scripts that
generate monthly performance graphs. These escapes would be more
logical than awk's $1, $2, $3, etc which are unreliable.
It would be a good idea to find out how log files are *likely* to change in
the near future so as to prevent changes in your escape sequences.
Liam
-- Liam Relihan, | Voice: +353-61-333644 ext.5015 CSIS, Schumann Building, |/| Fax: +353-61-330876 University Of Limerick, | E-mail: relihanl@ul.ie Ireland. http://itdsrv1.ul.ie/PERSONNEL/lrelihan.html