MBP 15 inch 2018, 2.9 GHz i9, 32 GB, 2TB; 10.13.6
If I leave my system unattended for several hours, it will restart itself - as if someone selected applemenu>Restart...
Apple has been no help so far. AppleCare determined "can't troubleshoot remotely". Made appt with Genius Bar. They determined "Cannot be SW - must be HW". After some muttering behind the desk: "We've had a few reports of this behavior, but Engineering does not have misbehaving HW - please sell us back your system for FA, and order a new one". So I did. New system has the same problem.
All along, I had been trying to get them to parse the logs. They have so far refused. So I guess it is up to me. Problem: while I have experience in such in Linux, MacOS seems opaque to me. How do I get info on what I should be looking for?
Will Console search all logs, or only currently selected (seems the latter?)? What text should I be looking for -- in what log -- for the restart signal. "shutdown -r" hasn't turned up anything so far.
My assumption is that some running process is sending the restart signal. I want to find this event in the logs, and make a determination as to how I can prevent this errant process from doing so.