{"repo":"kernc/diff-logs","free":true,"listed":false,"github":"https://github.com/kernc/diff-logs","clone":"git clone https://github.com/kernc/diff-logs.git","description":"🪄📜 Shell utility for easy spotting of differences between log files","language":"Perl","stars":13,"topics":["diff","bash","logfiles","logs","visualize-differences","devops-tools","devtools","devtool","logging","unix"],"license":null,"category":"cli-tools","readme_excerpt":"diff-logs =========== A command-line utility for diff'ing log files. Quickly find difference lines in all kinds of logs , namely build/CI logs, server/container logs, journald and boot/ dmesg logs, or any similar such. Figure out quickly what changed and why exactly your shit is failing. The script works by simply replacing common stochastic string [patterns], such as datetime timestamps, download speeds, temporary filenames, HTTP header values, UUIDs, hash digests etc. etc. with known fixed values that a tool such as diff can then easily skip, ensuring your focus on critical lines only. [patterns]: https://github.com/kernc/diff-logs/blob/master/diff-logs Installation ------------ First, check if your OS distro already provides an installable diff-logs package. Otherwise: 1. Star, download or clone repo. 🫶 2. Put diff-logs script into your bin-dir or elsewhere on $PATH : Usage ----- Examples -------- Diff two log files Diff-friendly-format a single log file Notes ----- This would be Python, but basic Perl is far more ubiquituous. ----- Finally, we can diff our logs with ease! 🥳 Improvements and additions welcome!","default_branch":null,"files":null,"tree":[],"storefront":"/r/kernc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kernc/diff-logs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}