Skip to content

Releases: ptmcg/logmerger

logmerger 0.10.0

01 Oct 08:08
Compare
Choose a tag to compare

Added

  • Added --ignore_non_timestamped command-line option, to discard any log lines that do not
    have a timestamp. (Issue #42)
  • Added support for Apache Log timestamp format [Fri Dec 01 00:00:25.933177 2023]. (Issue #36)
  • CI automated unit tests across all supported Python versions (3.9-3.13).

Fixed

  • Fixed timestamp parsing that broke in Python versions pre-3.11. (Issue #43)
  • Fixed bug when reordering out-of-order log lines that duplicated a previously-merged
    timestamp.
  • Faster loading of data, by reducing instances where sorting is required in the readahead window.
  • Fixed hanging bug when piping output to a text file.
  • Piping output to a file now uses -width setting if provided.

logmerger v0.9.0

24 May 19:16
Compare
Choose a tag to compare
  • Added "s" key binding to capture a screenshot of the current screen.
  • Support for strace log files; added "strace" custom timestamp format, which also accepts leading process id integer on each line.
  • --autoclip command-line option, to clip merged output to the first and last timestamps found in the first log file.
  • --show_clock command-line option, to show a running clock in the header of the interactive merged log display.
  • Added SECURITY.md and security vulnerability reporting guidance in README.md.
  • Added Python 3.13 support.

logmerger 0.8.0

07 Dec 09:22
26221a0
Compare
Choose a tag to compare

Added

  • Jump forward/backward by number of lines, or by time interval in microseconds, milliseconds, seconds, minutes, hours or days.
  • Support for --inline command-line option, to merge logs into a single column instead of side by side. (Issue #32)

Fixed

  • Some Python version incompatibilities in type annotations (Issue #33)

logmerger 0.7.0

08 Oct 04:28
Compare
Choose a tag to compare

Added

  • Support for CSV input files. logmerger looks at the first column of the CSV for the timestamp.
  • Table displays and updates while loading data.
  • Early detection of end-of-time-range, without reading the remainder of the input file.
  • Notification when loading a large log file is complete.
  • Bell when pressing N or P without defining a search string using F.
  • Timestamps in log files that are marked with "+/-nnnn" or "Z" timezone indicators are converted to local time.
  • Changelog links in CHANGELOG.md.

Fixed

  • Log lines containing rich-style text tags could raise exceptions in several output modes. Now tag introducers
    in lines are '' escaped before sending to rich or textual.

logmerger 0.6.0

28 Sep 17:16
Compare
Choose a tag to compare

Thanks to the assist from PyPI admins, I've been able to reupload this project using its new underscoreless name logmerger, to match its installed project name and command line command. So it can now be installed using pip as:

pip install logmerger

I've updated all the old name instances I could find in examples, help text, READMEs and docs, but otherwise there are no functional changes in this release.

log_merger 0.5.0

26 Sep 22:43
Compare
Choose a tag to compare

[0.5.0] - 2023-09-26

Added

  • installation notes to README
  • --output to stream to a file (files ending in ".md" are output in Markdown format)
  • timestamp formats for common web server logs
  • one-space indentation for continuation lines in multiline logs

Changed

  • changed shell command name from log_merger to logmerger (project name to be changed also, just not yet)
  • made --interactive the default display mode; use --output - to display to stdout

log_merger 0.4.0

22 Sep 23:47
Compare
Choose a tag to compare

Added:

  • (experimental) merging .pcap files (such as those created using tcpdump or Wireshark)
  • --demo command line option to run simple demo
  • ctrl-d to toggle light/dark mode
  • more natural user interaction with text in the Help/About dialog (page up/down/home/end)
  • README.md for the sample files directory
  • Python 3.12 compatibility

log_merger 0.3.1

19 Sep 01:05
Compare
Choose a tag to compare
  • fixed setup.cfg to find all sub-packages

log_merger 0.3.0

19 Sep 00:10
Compare
Choose a tag to compare

UI changes

  • "f", "n", "p" key bindings - Find/Next/Prev (case-insensitive text search)
  • "l" key binding - Go to line number
  • "t" key binding - Go to timestamp
  • "h" key binding - Show help/about info

Command line options

  • --timestamp_format command line option to define a custom timestamp format template,
    for parsing log files with formats that do not begin with a leading timestamp

Log file processing

  • strip escape sequences from log file lines, for consistent text alignment in columns

log_merger 0.2.0

15 Sep 20:37
Compare
Choose a tag to compare

Added

  • --line_numbers command line option to show line numbers in the merged output
  • --encoding command line argument to override system default encoding when reading files
  • --start and --end command line arguments to specify start and end timestamps to select a
    specific time window from the merged logs; values may be an absolute timestamp in various
    formats, or relative times such as "5m" for "5 minutes ago"
  • support for direct merging of gzip-encoded files (such as z.log.gz)
  • support for log timestamps with delimiting "T" between date and time
  • support for log timestamps that are seconds (int or float) or milliseconds since epoch