Hi All

I have an application that I am just moving to using sandboxing, and it 
currently (before sandboxing) writes log files to a folder in the Application 
Support folder, then if the program crashes, or the user wants to submit a 
defect report, it launches another application that picks up the log files and 
includes them in the report that is sent to our development team.

I am planning to have both the main application and the defect reporting 
application sandboxed, but am wondering what the best approach is for the log 
files that are written by one application and read by the other.

If I migrate the log folder from the Application Support folder to either of my 
other containers, it will not be accessible to the other application. I 
therefore think I need a file access temporary exception set up in both 
applications - would this be the best approach?

If so, I will need to have it relative to the Application Support folder, but 
the only settings available are relative to the user's home folder, and I'm 
worried about hard coding a reference to /Library/Application Support in case 
there are localization issues - is this something I need to worry about? Is it 
always ~/Library/Application Support on all systems in all languages?

Thanks

Gideon




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to