A privacy issue was addressed with improved private data redaction for log entries. This issue is fixed in watchOS 9.5, macOS Ventura 13.4, iOS 15.7.6 and iPadOS 15.7.6, macOS Big Sur 11.7.7, macOS Monterey 12.6.6, iOS 16.5 and iPadOS 16.5. An app may be able to bypass Privacy preferences.
https://support.apple.com/en-us/HT213765
https://support.apple.com/en-us/HT213764
https://support.apple.com/en-us/HT213760
https://support.apple.com/en-us/HT213759