Effectively fetching console messages
Effectively fetching console messages
- Subject: Effectively fetching console messages
- From: Luke the Hiesterman <email@hidden>
- Date: Fri, 28 Nov 2008 09:31:16 -0800
[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 (email@hidden)
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:
This email sent to email@hidden