20
5
After starting up my machine in verbose mode (cmd + v at start-up) I want to view the generated log messages, to debug an error I'm receiving (the error). The error is only displayed on the screen briefly during startup, before the machine reboots. As a result, there's no time to read it properly.
Does OS X provide a separate log file for start-up messages, or are these buried within the kernel.log and system.log files? If they are buried within these files, is there a quick way to jump to the point where the system boots, within the console viewer?
This answer does not actually say how I get to see the output from the "verbose" boot process, though. Once booted,
dmesgdoes only show some recent entries but not the boot log. Trying this on 10.12.6 - there's no "kernel.log" file any more, either. – SuperTempel – 2018-10-28T12:50:22.273Does this work for previous boots? The problem I was experiencing when I wrote this question (resolved now, thankfully) was only occurring intermittently. So say, every other boot, it was Kernel panic on me, and what I wanted to do was on the next successful boot, review the log file, find the previous boot, and try and debug. – purpletonic – 2012-03-28T16:08:08.373
@purpletonic Yes, everything that gets sent to ASL gets put in a database, where it stays for a default of 7 days (this can be adjusted with
asl.conf(5)). So if you were debugging booting problems and rebooted several times the same day, they'd be there by default. And if it was a longer-term problem, you could adjust ASL's retention period to keep stuff longer. – Spiff – 2012-03-28T16:57:59.177