To help with debugging on a customers machine, this terminal command records log entries for my app and writes 'em to disk.
log stream --predicate 'process=="Sleep Aid"' --style compact > ~/Desktop/Sleep\ Aid.log
In my app I have a function that does something similar to the above with a NSTask, and then I ask the customer to repeat the action that causes the problem. However for one customer, the file is created, but apart from it saying it's being filter by process, nothing else is written.
Is there some new security setting that can prevent an app from getting its own logging data, or in this case even prevent the customer from using terminal and the above command to get the log data?
This is similar also.
https://forums.developer.apple.com/forums/thread/743803
Or should I be filing a radar about a potential bug?