On May 20, 2013, at 5:53 AM, Gideon King <[email protected]> wrote:

> Hi,
> 
> 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?

No. Last I checked, for some crazy reason the sandbox people think that reading 
your own logs is a security concern because you can then read logs from other 
components. Personally I think this is ludicrous, but them's the breaks.

File a radar.

--Kyle Sluder
_______________________________________________

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]

Reply via email to