Console is not loading .logarchive files from device

Hi

I have watched this video https://developer.apple.com/wwdc20/10168 and tried to implement Logger in my application.

Then I've tried to generate .logarchive file from my iPhone device using this command (as it was mentioned in the video):

sudo log collect --device --start '2021-09-07 10:00:00' --output logTest.logarchive

where the result was:

Archive successfully written to logTest.logarchive

However, when I double-click over this file it opens the Console.app but then it stays infinitely loading the .logarchive.

Some notes:

The file size is about 150Mb, so I believe is not related with this.

Am I doing something wrong? Can you please help me?

Thanks in advance

This works for me. How are you testing it? I’m running macOS 12.5.2 targeting an iPhone 11 running iOS 14.7.1. I ran your exact command and then, double clicked logTest.logarchive in the Finder and it opened in Console just fine.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I am doing the exact same way.

I'm running MacOS 11.5.2 targeting and iPhone XSMax running iOS 14.7.1.

Console is not loading .logarchive files from device
 
 
Q