"Previous sleep cause: 5" is not a helpful system log message

Originator:kristopherdjohnson
Number:rdar://21141322 Date Originated:28-May-2015 12:19 PM
Status:Closed Resolved:Behaves correctly
Product:OS X Product Version:10.10.3
Classification:UI/Usability Reproducible:Unable
 
Summary:
A customer has a Mac server that goes to sleep every morning around 11:00 AM, even though all Energy Saver sleep settings are set to "Never". While looking at the system log to determine why, we found this log message:

May 26 11:03:03 SERVERNAME kernel[0]: Previous sleep cause: 5

Unfortunately, "5" is not documented anywhere. Nor, apparently, are any of the other possible sleep causes.

Steps to Reproduce:
Unable to reproduce on other systems.

Expected Results:
System log should have a human-readable message like "Previous sleep caused by 90 minutes of inactivity"

Actual Results:
"Previous sleep cause: 5"

Version:
OS X 10.10.3 14D131

Notes:
See http://apple.stackexchange.com/questions/126588/are-os-x-shutdown-cause-and-sleep-cause-numbers-listed-explained-anywhere for related questions by other users.

Configuration:


Attachments:

Comments

Use "pmset -g log"

Got this response from Apple:

Engineering has determined that this issue behaves as intended based on the following information:

If your looking for more sleep/wake related info, "pmset -g log" is the place to go, not the system.log everything behaves correctly.

If you have questions regarding this resolution, please update your bug report with that information.

We are now closing this bug report.

Please be sure to regularly check new Apple releases for any updates that might affect this issue.

By kristopherdjohnson at July 9, 2015, 9:31 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!