dazuko-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dazuko-help] file acces on /var/log/....


From: John Ogness
Subject: Re: [Dazuko-help] file acces on /var/log/....
Date: Wed, 01 Sep 2004 07:41:04 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

till wrote:
i want to write a little programm using dazuko which does a specific action if the /var/log/messages file is modified my the syslogd. (eg when I connect to the internet through ISDN). Is that possible ? I tried it by modifying the example.c programm but
without success.

Hi,

I just used the example program to see if any OPEN/CLOSE events occur when syslog writes to the messages. It does not. Apparently syslog (at least syslogd) keeps an open handle to the log files and does not open and close the file with each log entry.

Since Dazuko only reacts to open and close events, it is not suitable for this type of application.

Dazuko could be modified to signal sys_write events, but this would cause enormous overhead for the system.

John Ogness

--
Dazuko Maintainer




reply via email to

[Prev in Thread] Current Thread [Next in Thread]