• 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
asl search optimization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

asl search optimization


  • Subject: asl search optimization
  • From: Santosh Sinha <email@hidden>
  • Date: Mon, 15 Jun 2009 15:43:15 +0530

Hello list,

I have written messages in asl log through asl_log() function. My problem is that when I went to search these messages through asl_search_query() method. it takes a long time to search them because it looks in whole system log.

Now I am curious how to optimize asl search. can we create our own separate asl file for a particular application in /var/log/asl folder. if Yes then what's the procedure. secondly, how to write and read messages to and from this file.

it will be good 4 me if anyone explained it with some lines of sample code.

Any help will be highly appreciated.

Thanks!

Santosh


_______________________________________________

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


  • Prev by Date: Subtitle Track
  • Next by Date: to NIB or not to NIB
  • Previous by thread: Re: Subtitle Track
  • Next by thread: to NIB or not to NIB
  • Index(es):
    • Date
    • Thread