Folder Streams
A Folder Stream follows every matching log file in a folder, on this Mac or on a server over SSH. You point it at the folder once, and LogRaker finds the files, shows their lines together, and keeps up as files appear and go away.
Creating a Folder Stream
Select a Local System or SSH Source, choose + ▸ 'New Stream…', and set Source to Folder.
- Path - the folder. On this Mac, click the folder button to choose it. On an SSH Source, type the path as the server sees it, for example
/var/log/myapp, or click the folder button to browse the server's folders and choose one. While you browse, the files your Files patterns match read normally and the rest are dimmed, and the line under the columns says how many match. Switching a File Stream to Folder fills in the folder its file is in, and switching back brings the file back. - Files - which files to follow, one pattern per pill, such as
*.logand*.trace. A file whose name matches any of them is followed:*matches any text,?one character. Press Space, Return or a comma to start the next pattern. The default is*.log; for every file, use*. Files can't be left empty. - Changed - follow only files that changed recently. The default is 'In the Last 7 Days'; choose 'Any Time' to follow every match.
- Include subfolders - also follow files in subfolders, up to three levels down. A symlink to a folder isn't entered, since it could lead back into itself.
- Include rotated and compressed files - also read the older copies of the matching files that log rotation leaves behind, for example
app.log.1,app.log.2.gz,app.log-20261116.gz,app.log.oldorapp.log.bak. With Files set tocurrent, that includes the archives starting with@that daemontools-style loggers keep beside it. They're left out by default. - 'Test' - lists the files the Folder would follow with these settings, so you can check them before you save: how many there are, and 'Show Files' beside the count lists them.
Compressed logs are unpacked for their history: .gz and .xz on this Mac, and over SSH also .bz2 and .zst where the server has the matching tool. Nothing writes to them, so no new lines follow. .zip files are never read. A rotated or compressed file that appears while the Stream runs holds lines you've seen already, so it's listed but not read again.
A symlink to a file is followed like the file it points to, and Changed looks at when that file last changed, not the link. The folder in Path can be a symlink too.
A matching file that isn't text, such as a program, a database or the binary login records in /var/log, is left out, and the Stream says which files it left out. 'Test' names them too. Logs written in UTF-16 or UTF-32 are read like any other, on this Mac and over SSH.
The Filter pills, Strip matched text, and Auto-stream at startup work as they do for a file Stream. The Filter pills match each line's file name too.
What you see
Every file's lines show in one table. The File column says which file each line came from, as its path inside the folder (nginx/access.log). Click its header to sort by file. Filter and Find match the file name too, so nginx/ in Filter shows only the lines from that folder's files. Severity, Host and Process appear when the lines carry them, as for a file Stream.
New files show up within a few seconds, with up to 1,000 of their latest lines. When a file is rotated, LogRaker follows the new one under the same name.
One file at a time
Once the Stream runs, its row in the sidebar gets a disclosure triangle. Click it to see one row per file it follows, sorted by path. The rows come and go with the files. A file's row shows the waveform while lines arrive from that file, so you can see which ones are being written to.
Select a file's row to see only that file's lines, with as much history as a Stream of that file would show. Filter, Find, Pause and the line inspector work as they do on the whole Folder; the File column is hidden there, since every line comes from the same file, and the waveform under the table follows that file. ⌘-click or ⇧-click to select several files, of one Folder or several, and they show merged by time like any multi-selection (see Merging what you select), each in its own color, ready to keep as a Layout.
Right-click a file's row for 'Open in New Window', 'Add to Favorites', 'New Stream from File', 'Copy Path', and on this Mac 'Show in Finder'. Editing, removing and moving act on the Folder, so they're on the Folder's own row. When a file goes away while its row is selected, the Folder is selected instead.
A file as a favorite
Select 'Add to Favorites' on a file's row to keep that file on the 'Favorites' tab as a row of its own. While the Folder no longer follows the file, its row there is dimmed. Select 'Remove from Favorites' to take it off again.
A Stream of one file
To watch a file on its own, right-click its row and select 'New Stream from File', or select several files and select 'New Streams from Files'. Each becomes a Stream of the same Source, with the Folder's settings, right below the Folder, and starts. If a file already has its own Stream, that Stream is selected instead. The Folder keeps following the file too. Cmd+Z undoes it.
Dragging a file
To show or watch one file without a Stream of its own, drag its row onto a Layout pane, a Merge Streams Layout or a Monitor, or their rows in the sidebar. The pane, the pill or the Monitor then shows only that file's lines, named after the file, and a pill gets a color of its own. Several selected files drag together onto a Merge Streams Layout or a Monitor, or their rows. Dashboards don't take a file yet. Cmd+Z undoes the drop.
Read lines in a Folder
Each file keeps its own read mark. 'Mark as Read' or 'Mark as Read up to Here' in a file's row marks that file only. In the Folder's own view they mark every file at once, up to the same moment, replacing what the file rows had.
History
When the Stream starts, the lines set in Settings ▸ Streams ▸ Initial history are shared across the files, with at least 10 lines from each, and shown in time order. Reconnects show only new lines.
A Folder with more than 100 matching files says so once and suggests narrower Files patterns.
On a server
An SSH Folder Stream uses one connection for all its files. The server needs the standard sh, find, tail and awk tools, which Linux and macOS have. If the folder doesn't exist or can't be opened, the Stream stops with “Folder not found”.
Use in Monitors and Layouts
A Folder Stream is an ordinary Stream: add it to a Layout pane or watch it with a Monitor, and every file in it counts.