asl search optimization
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