A better way will be to find out what syslog category these logs come out as, and direct them to a named pipe. Have the other program read from that pipe.
RTFM syslog.conf Shachar Omer Zak wrote: >On Mon, 11 Feb 2002, Amichai Rotman wrote: > >>I have a an AVM Fritz ISDN card installed. The software that came on the disk >>is only for that other OS. >> >>One of the features on said software is a little window popping up every time >>there's an incoming call stating the name (if presentin address book) an >>number of caller, in other words: CallerID. >> >>While looking for something on my box (MDK 8.1) in my /var/log/messages file, >>I noticed a line for each incoming call. >> >>Is there a Linux prog to do what the other OS does? The infois in there... >> > >It should be quite simple to put together a small Perl/Tk or Python/Tk >script, which eats from tail -f /var/log/messages, greps for the relevant >lines and pops up&updates a small window for each relevant line. > > --- Omer >There is no IGLU Cabal. The reasons for this are legion, but can be >classified into: >a) People are too busy in other endeavors. >b) Malicious people sabotaged the effort in order to further their ends. >c) There was an IGLU Cabal in the past, but it withered away due to > mismanagement or failure to attract new blood. >d) The IGLU Cabal exists in alternate timeline. >e) The process of founding the IGLU Cabal ran into problems, such as > failure to define the goals of the IGLU Cabal. >f) The IGLU Cabal is not really needed - there are other means to achieve > its goals. >WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html > > >================================================================= >To unsubscribe, send mail to [EMAIL PROTECTED] with >the word "unsubscribe" in the message body, e.g., run the command >echo unsubscribe | mail [EMAIL PROTECTED] > > > ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]