Re: [evlog-dev] plugins and order
Hien Q Nguyen <[email protected]> Mon, 8 Dec 2003 10:47:20 -0800
| Newsgroups | gmane.linux.kernel.event-logging |
|---|---|
| Message-ID | <OF6DF9D261.3A74837D-ON88256DF6.0065E6CA-88256DF6.00673643@us.ibm.com> |
Hi Steve, New events are coming in from the socket and stay in the socket until the callback returns. Logging an event would happen as follow 1. evlogd receives the event 2. writes to local log file 3. passes the event to the plugins 4. waits for the plugins backend_function to return, (if the callback is invoked by the plugins backend_function, it has to return before the backend_function returns) Regards, Hien. Hien Nguyen [email protected] (503) 578-4347 Steve Woodruff <[email protected] To: Hien Q Nguyen/Beaverton/IBM@IBMUS m> cc: Subject: Re: [evlog-dev] plugins and order 12/08/2003 10:17 AM Hi Hien, Actually i'm using a custom plugin which I wrote, and I actually tracked down the problem shortly after I sent my email to the list. :) On a related note... can you describe what happens when the user callback function is invoked and another event arrives? Does evlog wait for the first callback function to return before invoking it again, or is it threaded and the callback could be called multiple times in parallel? Thanks! /steve --- Hien Q Nguyen <[email protected]> wrote: > > > > > The plug-in forwards the event after the event is > written to the log. > Are you using udp or tcp plugin? If you are using > udp, your events could be > dropped (but I doubt that is the case). > > I recently rewrote the tcp plugin, and fixed some > multi-arch support code > bugs. Would you like to try the new code? We plan to > release the new > version of evlog soon (perhaps a test version before > Christmas and v1.60 > after New year) > > Regards, Hien. > Hien Nguyen > [email protected] > (503) 578-4347 > > > > > > Steve Woodruff > > > <[email protected]> > To: > [email protected] > > Sent by: > cc: > > > [email protected] Subject: > [evlog-dev] plugins and order > > ceforge.net > > > > > > > > > 12/08/2003 09:06 AM > > > > > > > > > > When an event is posted to evlog, is the plugin > passed the event AFTER evlog writes the record > to the evlog or before? > > We're seeing a case infrequently where an event > shows up in the evlog but the plugin never seems > to get passed the event (the plugin also logs but > doesnt log any event at that time). > > tnx > > /steve > > > ===== > ---------------------------------------------------------- > Steve Woodruff, N9OH @ 42.18N 88.34W, > [email protected] > > __________________________________ > Do you Yahoo!? > New Yahoo! Photos - easier uploading and sharing. > http://photos.yahoo.com/ > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux > Tutorials. > Become an expert in LINUX or just sharpen your > skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the > bash shell to sys admin. > Click now! > http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > evlog-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/evlog-developers > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux > Tutorials. > Become an expert in LINUX or just sharpen your > skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the > bash shell to sys admin. > Click now! > http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > evlog-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/evlog-developers ===== ---------------------------------------------------------- Steve Woodruff, N9OH @ 42.18N 88.34W, [email protected] __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click