[Resending to this this. Sorry for anybody who is reading it twice].

I have an app that wants to continually fetch console messages, much like the Console app itself. The problem I'm having is that the act of performing and asl_search every second, or even every 5 seconds makes syslogd go nuts and performance goes out the window. I specify that my search is only for messages in the time interval since my previous search, so I wouldn't think this would be too terribly offensive a task, but it seems that it is for one reason or another.

Is there a way I can setup to listen for new messages rather than pinging asl_search continuously, or is there some other method to getting the messages that would have better performance results?

Thanks for any tips.

Luke
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to