Stream logs sent to syslog from the process with a specific PID

log

  • View, export, and configure logging systems.
    More information: <https://www.dssw.co.uk/reference/log.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

log stream --process {{process_id}}

click the source code to copy install log on any operating system with command-not-found.com