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 protected]> 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 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/dave.fernandes%40utoronto.ca
> 
> This email sent to [email protected]


_______________________________________________

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