Skip to content

Instantly share code, notes, and snippets.

@xiaods
Last active March 22, 2019 09:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save xiaods/5301c467e1e381b9e51473b2754142cf to your computer and use it in GitHub Desktop.
Save xiaods/5301c467e1e381b9e51473b2754142cf to your computer and use it in GitHub Desktop.
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