How to get old console log
I found two ways to do this.
- Generate a sysdiagnose and AirDrop it to your computer. The sysdiagnose tarball contains a bundle called system_logs.logarchive which can be opened with Console.
On the device, press both volume buttons and the lock button simultaneously. Release after 1 second. You should feel the device vibrate.
On the device, go to Settings -> Privacy -> Analytics -> Analytics Data.
Scroll down until you see sysdiagnose_<current date>. Select it, and tap the send button. Tap on your computer name to send the log via AirDrop.
On your computer, accept the AirDropped item. This will be a tar.gz file
Open the tar.gz file and decompress. Inside, you will see system_logs.logarchive
Double-click system_logs.logarchive. This should open the bundle in Console.
- When the device is connected to your Mac over USB, you can gather logs from it using the
log
tool. From Terminal, runlog collect --device --output logs.logarchive
. Then, open logs.logarchive in Console.