Created
November 11, 2021 02:42
-
-
Save carlashley/1a2cac67b5066741cf8dc0855faeb4c1 to your computer and use it in GitHub Desktop.
Search logs for Python Deprecation Warnings - macOS Monterey
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
# Thanks to @golby on Slack: | |
sudo log show --info --debug --predicate 'process == "pythonprompt" AND eventMessage contains[cd] "Showing alert"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment