Hey all,
In the process of trying to track statistics in SpamAssassin (and other programs), and I'm thinking the easiest way is to have syslog write to a FIFO that another program will read (or write to a pipe, but I'm not sure syslog can do this), and then just have that program keep track of time and store a logfile every so often.
I've *thought about* tailing logs, and grepping them, and the problem of concurrency and offsets keeps plaguing me.
Does anyone have a better way of doing this?
-Dan
--
"Ca. Tas. Tro. Phy."
-John Smedley, March 28th 1998, 3AM
--------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org ---------------------------