log / syslog¶
I run these commands on macOS.
info and debug logs¶
you can always pass --info
and/or --debug
to get more detailed output
filter logs for the last n
seconds/minutes/hours¶
get sleep wake reasons and times¶
from the past 12 hours. check the man page for more information: man log
you can do things like `--last 2d
for days and so on.