Shutdown cause codes, wake reasons, ACPI, and sleep states – diagnosing problems from hardware events.
cause code
Waypoints to help you navigate through Sierra’s log entries when putting a Mac to sleep, and when waking up from sleep.
How to interpret the code numbers written into your Mac’s log to indicate the reason for shutting down, restarting, or going to sleep.