On Mon, 20 May 2013 22:53:50 +1000, Gideon King said:
>In my application, I want to be able to collect Apple system log
>information about my application, and have been using
>asl_new(ASL_TYPE_QUERY); to do so.
>
>Unfortunately this needs to access any files in /private/var/log/asl/*
>
>I understand that there is no way to add an entitlement that will allow
>access to all the files in a folder. Is there any way of either setting
>up an entitlement to allow access to all the files in that folder, or
>another way to read the system logs in a way that is sandbox friendly?
What Kyle said. Until then:
<key>com.apple.security.temporary-exception.files.absolute-path.read-only</key>
<array>
<string>/private/var/log/asl/</string>
</array>
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng [email protected]
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]