How to Access Document or Device Log folder on iPhone Devices

Hi All,


From our iOS application ,we are logging the application traces to below relative path:

/var/mobile/Containers/Data/Application/XXXXXX/Documents/logs/application.log

I doubt we can't access to above path due to security reasons.

Could some one suggest me ,how to access to above path on iphone device to collect the log file?


Or Can some one suggest me some local path of the device ,which can be accessed via our iOS application so that we can dump our application log traces to that folder.


Appreciate your quick help and inputs.


Thanks,

Surya.

iPhone 6, iOS 12

Posted on Jul 29, 2021 11:51 PM

Reply
2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to Access Document or Device Log folder on iPhone Devices

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.