Compare and merge

Compare two logs

File → Compare Logs by Message… (Ctrl+Shift+D, ⇧⌘D on macOS) compares the current log with a baseline: another open log, for example of a run that went well. Open both logs first. (To compare two CSV files row by row, see Compare files.)

Comparing a bad run with a good one: new, more frequent and missing messages

Comparing line by line is useless for logs (every timestamp differs), so Logsift compares kinds of messages, as in the Messages tab. Counts are scaled to the logs’ lengths, so a log twice as long doesn’t look twice as bad.

Change Colour Means
NEW red Only in this log. New errors come first: usually the place to start
×4.2 dark amber At least twice as often as in the baseline (scaled)
GONE gray Only in the baseline. Something that used to happen no longer does, such as a connected message
÷3.0 blue ( in dark mode) Half as often or less
same gray About as often (shown only with Everything)

Columns: Change, Level, Message, Baseline (count there), This log (count here).

Merge logs by time

File → Merge Files by Time… (Ctrl+Shift+M) merges several logs (say, the same app on two nodes, or an app log and its server’s log) into one view in time order. Tick the open logs, or Add Files….

A log with no timestamps can’t be merged: no timestamps found to merge by.

Merge CSV files

When every file you tick is a CSV (or TSV) file, the merge makes one CSV file instead, and the dialog says so before you start:

Three CSV files merged into one: a source column, the columns of all three, and the sources in the tree