
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 machineexplain 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 machineexplain 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 machineexplain this command