Hello,
Welcome to Microsoft Q&A!
What is the preferred/best location for app-generated log files for packaged apps? The user's AppData/Local folder for the app? Or somewhere else?
There is no best location. It depends on your requirement where you place the log file. You could put the file wherever your app has permission. If you are developing a UWP app, you could check this document- File access permissions about the file permission that UWP apps have and choose a place that is suitable for your requirement.
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.