Skip to content

Instantly share code, notes, and snippets.

@amorist
Created July 23, 2019 03:23
Show Gist options
  • Save amorist/f15765f8f8b5db2be2a4e9c7af465664 to your computer and use it in GitHub Desktop.
Save amorist/f15765f8f8b5db2be2a4e9c7af465664 to your computer and use it in GitHub Desktop.
mac docker k8s log
pred='process matches ".*(ocker|vpnkit).*"
|| (process in {"taskgated-helper", "launchservicesd", "kernel"} && eventMessage contains[c] "docker")'
/usr/bin/log stream --style syslog --level=debug --color=always --predicate "$pred"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment