Displaying log entries using semantic colour seemed most appropriate using AttributedString, but performs very poorly. The solution is a SwiftUI List view.
log
Moving away from using the log command tool to obtain log extracts for browsing requires using OSLog. Its API explored and implemented in a demo app.
Digging for buried treasure in the Unified log isn’t easy, but has a fine track history of bringing plenty of silver and gold. Here it’s about batteries.
A strategy for diagnosing problems using the log. How to limit the number of entries shown using appropriate periods and predicates, and more.
How to obtain and read entries in the Unified log made by APFS. Their structure, and a guide to their identification and occurrence.
There are 3 different ways to access the log, and its entries will be different depending on which way you use. This explains the differences and methods.
Reading the log in macOS isn’t easy, but here ten systems where it’s the only way to discover and address problems, and a bonus 11th.
Where would you find a 7C3457EF-0000-11AA-AA11-00306543ECAC? How UUIDs have taken over to identify so much, and how to generate your own.
Have noticed brief periods of high CPU for universalaccessd in Sonoma? Do you know what com.apple.axserver is and why it can’t be found? Can you help with this puzzle?
How local files retain their extended attributes and versions when moved to iCloud Drive, but they’re not available to other Macs. Sparse files and storage economy as well.
