man shutdown
reads the following:
At shutdown time a message is written to the system log, containing the
time of shutdown, the person who initiated the shutdown and the reason.
Corresponding signal is then sent to launchd(8) to respectively halt,
reboot or bring the system down to single-user state (depending on the
above options).
I've tried it on Catalina but when I go to /var/log/system.log
I don't see any indication of my shutdown.
I tested both -r
and -h
options but still nothing.
How can I get my planned shutdowns logged in the system log?
Thanks in advance.