How to troubleshoot macOS console logs