A form just to ask a question…
Merging Streams by time is the one LogRaker feature I use the most, by far. Say the boat leaves a marina and nobody gets the push notification, then I want the Boat Tracker log from the Cerbo GX and the Firebase Backend log interleaved, line by line, in the order things actually happened.
But to get there I had to create a Merge Streams Layout first, give it a name, and drag both Streams into it. That’s fine for the combinations I look at every day, but for a quick “what did the Jetson log while the Cerbo GX was rebooting?” it felt like filling out a form just to ask a question. So most of the time I didn’t bother, and flipped back and forth between two Streams comparing timestamps in my head instead (which works about as well as you’d think).
So LogRaker 3.3 merges whatever you select.
Just select them
On the sidebar’s ‘All’ tab, ⌘-click or ⇧-click two or more Streams and they show up merged by time, right there, in the same table a Merge Streams Layout shows. Whole Sources and groups work too and bring all of their Streams along, and a Stream that isn’t running yet simply starts. If it all adds up to more than 10 Streams, LogRaker asks first, in case you got a little carried away with that ⇧-click.
There’s a right-click way in as well. Right-click a Source or a group and select ‘Merge Streams’ to see all of its Streams merged, or right-click a Stream and pick another one from ‘Merge With’.
Rather have them side by side? The toolbar’s Merge button puts each Stream in its own pane, for up to 9 of them, from two panes next to each other all the way up to a 3×3 grid.
… and keep it if you like it
Nothing is saved until you say so. When a merge turns out to be one you’ll want again, click ‘Save as Layout’ in the bar above the table, and it becomes a Merge Streams Layout named after what you selected (like api + worker). If you picked a whole Source or group, the Layout keeps it that way, so Streams you add there later join the merge on their own. Saved from the panes, you get a Layout with the same panes instead. And of course ⌘Z undoes it.
Close the merge and you’re back where you were. Back and Forward remember merges too, and if one is still showing when you quit, it’s back the next time you launch LogRaker.
Once several rows are selected, right-click inside the selection for the things that act on all of them at once: ‘Merge into New Layout’, ‘Add to Layout’, ‘Start Streams’, ‘Stop Streams’ and ‘Remove…’, which asks only once for the whole bunch. Or drag the selection onto a Merge Streams Layout, its row in the sidebar, or a Monitor’s sources. Every one of those is a single ⌘Z.
Folder files join in
Folder Streams only came out in 3.2, and the file rows under a Folder can now do most of what a Stream does. Select a few of them, from one Folder or from several, and they merge by time like everything else, each file in its own color. Drag a file onto a Layout pane, a Merge Streams Layout or a Monitor to show or watch just that one file. Right-click it and select ‘New Stream from File’ if you’d rather have it as a Stream of its own, or ‘Add to Favorites’ to keep it on the ‘Favorites’ tab.
Filling an empty Merge Streams Layout
Dragging Streams into a brand new Merge Streams Layout one by one got old fast once I had more than a handful, so an empty one now offers ‘Add Streams…’. Type a few letters to narrow down the Workspace’s Sources, Streams and Folder files, check what you want, click ‘Add’, done.
Two colors too alike
Sometimes the automatic colors just aren’t great, and two Streams end up looking almost the same. Right-click a Stream’s pill in a Merge Streams Layout or a Monitor and select ‘Change Color…’ to pick one of your own, and ‘Use Automatic Color’ gives it back the one LogRaker chose.
Reset is now Mark as Read
‘Reset’ on a Stream never really reset anything (nothing gets deleted, the lines you’ve seen just dim), so it’s now called ‘Mark as Read’, ‘Reset from Here’ became ‘Mark as Read up to Here’, and the new ‘Mark All as Unread’ makes every line new again. Monitors keep ‘Reset’, since there it actually resets the count.
A few fixes along the way
All that merging also shook out a couple of bugs. Log entries that run over several lines (stack traces, mostly) now show whole in a merged view, not just their first line. And macOS’s own install.log stamps its lines with a time zone of only hours, which LogRaker didn’t understand until now, so those lines had no time and stayed out of merges… now they join in like any other.
So, if you’ve ever caught yourself flipping between two logs trying to line them up in your head, give LogRaker 3.3 a try. ⌘-click, and there they are! All the details are in the Layouts docs.
Thanks for reading!