• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Effectively fetching console messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Effectively fetching console messages
      • From: Martin Stoufer <email@hidden>
  • Prev by Date: Re: -[NSWindowController window] fails
  • Next by Date: Re: -[NSWindowController window] fails
  • Previous by thread: Re: question re: mem leak analysis and RSIZE
  • Next by thread: Re: Effectively fetching console messages
  • Index(es):
    • Date
    • Thread