Forrest logo
back to context overview

log

List of commands for log:

  • log:tldr:48899 log: Export all logs to disk for the past hour.
    $ sudo log collect --last ${1h} --output ${filename-logarchive}
    try on your machine
    explain this command
  • log:tldr:4ceef log: Stream logs sent to `syslog` from the process with a specific PID.
    $ log stream --process ${process_id}
    try on your machine
    explain this command
  • log:tldr:d0fbc log: Show logs sent to syslog from a process with a specific name.
    $ log show --predicate "process == '${process_name}'"
    try on your machine
    explain this command
  • log:tldr:e5944 log: Stream live system logs.
    $ log stream
    try on your machine
    explain this command
back to context overview