• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: App store reject on asl log. How else do I get at the log messages?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >App store reject on asl log. How else do I get at the log messages? (From: Gideon King <email@hidden>)

  • Prev by Date: App store reject on asl log. How else do I get at the log messages?
  • Next by Date: Re: Dismissing menu from menu item that uses custom view
  • Previous by thread: App store reject on asl log. How else do I get at the log messages?
  • Next by thread: Drawing strings from a menu item's keyEquivalent
  • Index(es):
    • Date
    • Thread