You can now save log extracts to JSON files, which LogUI can read in as a log extract. Also a new Reduce tool to filter unwanted log entries.
LogUI
Applying a sequence of criteria to narrow search until you find your target. How incremental search can help. The role of predicates, and how to search the log.
This compares short time intervals obtained from log entry timestamps obtained from the log show command via Ulbow, those from LogUI using OSLog, and Mach Absolute Time.
By default, the log show command and Ulbow display log entries using the time zone set when they were written to the log. Bringing consistency in a new build of LogUI.
Getting the date and time stamp of log entries to use rounded microseconds, and how to ensure a log extract uses the current time zone throughout.
It turns out that ‘nanosecond’ times introduced in LogUI are largely artefact. Is higher resolution timing really needed, and how can it be obtained?
Although Macs can resolve time to nanoseconds, this isn’t apparent from tests writing log entries very rapidly. This explains what is probably happening.
Although there are important differences between Intel and Apple silicon Macs, both can resolve time to nanoseconds. So can this new version of LogUI.
Actions are moved to its toolbar to improve use. Selected messages can now be extracted into a window for editing (all Macs) and summary using Writing Tools (Apple silicon).
Open multiple windows in LogUI, set them up to obtain the same log extract, then apply different searches to each. A powerful way to read long and complex log extracts.
