Releases: ptmcg/logmerger
Releases · ptmcg/logmerger
logmerger 0.10.0
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
- 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
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
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
orP
without defining a search string usingF
. - 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
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
[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
tologmerger
(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
Added:
- (experimental) merging
.pcap
files (such as those created using tcpdump or Wireshark) --demo
command line option to run simple democtrl-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
- fixed setup.cfg to find all sub-packages
log_merger 0.3.0
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
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