What is all this console spew, and how to manage it?

Something (or a lot) is janky about apps built for "My Mac - designed for iPad."

Aside from things just not working, the amount of garbage spewed to the console during debugging is unmanageable. I can't see my own trace statements amongst screens and screens of repetitive nonsense.

I right-clicked on it and set it to filter out errors, but I'd like to get notified of legitimate errors. Anyone employing a clever filtering method I'm not aware of?

Answered by DTS Engineer in 816799022

OK, progress.

If you control click on a log entry, the contextual menu has a Hide Similar Items submenu that lets you hide specific subsystems, categories, and so on. You can also type filter expressions into the Filter field at the bottom of the debug area.

It’s hard for me to explain this all using just text, so I recommend that you watch the WWDC 2023 session about it. You can find a link to that, and a whole bunch of other system log docs, in Your Friend the System Log.

Share and Enjoy

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

At the bottom of the debug area there’s a button that lets you control the metadata shown for each log message. Click that and, in the resulting popover, enable Subsystem and Category. What values do you see for these log entries?

Share and Enjoy

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

Well, that's handy.

The perpetrator for the two that appear most is com.apple.GenerativeModels - availability

Accepted Answer

OK, progress.

If you control click on a log entry, the contextual menu has a Hide Similar Items submenu that lets you hide specific subsystems, categories, and so on. You can also type filter expressions into the Filter field at the bottom of the debug area.

It’s hard for me to explain this all using just text, so I recommend that you watch the WWDC 2023 session about it. You can find a link to that, and a whole bunch of other system log docs, in Your Friend the System Log.

Share and Enjoy

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

I should have noted that the extra details allowed me to filter the GenerativeModels source and eliminate the vast majority of the spam.

I'll take a look at the log tutorial though. Thanks!

What is all this console spew, and how to manage it?
 
 
Q