Re: App store reject on asl log. How else do I get at the log messages?
Re: App store reject on asl log. How else do I get at the log messages?
- Subject: Re: App store reject on asl log. How else do I get at the log messages?
- From: Dave Fernandes <email@hidden>
- Date: Thu, 30 May 2013 18:07:21 -0400
Not sure if this meets sandboxing requirements, but you can redirect the console log in main.c:
freopen([APP_LOG_PATH fileSystemRepresentation], "a", stderr);
Surround this in @autoreleasepool{} if you need ARC memory management to create your path string.
On 2013-05-30, at 5:46 PM, Gideon King <email@hidden> wrote:
> Hi,
>
> My app was rejected from the store because I wanted the entitlement:
>
> com.apple.security.temporary-exception.files.absolute-path.read-only - /private/var/log/asl/
>
> I need this so I can use the asl_new, asl_set_query, asl_search, aslresponse_next, asl_get, and aslresponse_free to be able to get the log messages for my application when people submit a bug report.
>
> The app store rejection told me that I need to "investigate other ways of implementing the desired functionality".
>
> Are there other ways of getting at the console log entries for my app so I can get them sent to me with bug reports?
>
>
> Regards
>
> Gideon
>
>
>
>
>
>
>
>
> _______________________________________________
>
> 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
_______________________________________________
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