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 (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 arch...@mail-archive.com

Reply via email to