Skip to content

Instantly share code, notes, and snippets.

@rainly
Forked from xiaods/docker-desktop-logging.md
Created March 22, 2019 09:11
Show Gist options
  • Save rainly/af1496c99ee3698549357b5a3b7bc110 to your computer and use it in GitHub Desktop.
Save rainly/af1496c99ee3698549357b5a3b7bc110 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