Log-Watch icon

Log-Watch

  n/a
Certified 100% FREE GPL   

Watches a streaming text file, such as a server log file, and plays sounds when certain strings appear #Log Watcher  #Log Monitor  #Monitor Log  #Watcher  #Monitor  #Alert  

Description

Free Download

Do you ever test something that creates a log file as it goes, reporting strange events and possibly errors that might not appear through the UI? It might be useful to have a little audio feedback while you're testing, so you can use your ears to home in on interesting patterns while your eyes are focused on the screen.

The Log-Watch application was developed to be a simple tool that watches a streaming text file, such as a server log file, and plays sounds when certain strings appear. It makes use of the Win32::Sound library. If you want to run the script directly, you have to install that library (use the PPM tool to do that). The EXE version has the library embedded, I believe.

Run it from a DOS command-line by providing the path of a file you want to monitor, like so:

log-watch C:\logs\access.log

Edit watchlist.txt to include the strings you want to monitor and the corresponding WAV files you'd like to play. It's a tab-delimited file. For example:

error error.wav exception error.wav /\b4\d\d\b/ code_4xx.wav pdf pdf.wav

If you put forward slashes before and after the string, it will be treated as a Perl regular expression. Otherwise it will be treated as a literal string. The weird looking third line, above, will match any number from 400 to 499 if it appears with whitespace around it.

Every time a string or pattern on the left is found, the wave file on the right will be played and the corresponding line printed to STDOUT.

Be sure that the WAV files you reference are in the working directory of the tool. The error.wav file I've included is my own raspy voice during a recent bout of bronchitis.

add to watchlist add to download basket send us an update REPORT
  runs on:
Windows All
  file size:
429 KB
  filename:
log-watch.zip
  1 screenshot:
Log-Watch - Run it from a DOS command-line by providing the path of a file you want to monitor
  main category:
Internet
  developer:
  visit homepage

Context Menu Manager

Customize Windows’ original right-click context menu using this free, portable and open-source utility meant to enhance your workflow
Context Menu Manager

calibre

Effortlessly keep your e-book library thoroughly organized with the help of the numerous features offered by this efficient and capable manager
calibre

7-Zip

An intuitive application with a very good compression ratio that can help you not only create and extract archives, but also test them for errors
7-Zip

IrfanView

With support for a long list of plugins, this minimalistic utility helps you view images, as well as edit and convert them using a built-in batch mode
IrfanView

ShareX

Capture your screen, create GIFs, and record videos through this versatile solution that includes various other amenities: an OCR scanner, image uploader, URL shortener, and much more
ShareX

Microsoft Teams

Effortlessly chat, collaborate on projects, and transfer files within a business-like environment by employing this Microsoft-vetted application
Microsoft Teams

Bitdefender Antivirus Free

Feather-light and free antivirus solution from renowned developer that keeps the PC protected at all times from malware without requiring user configuration
Bitdefender Antivirus Free

Windows Sandbox Launcher

Set up the Windows Sandbox parameters to your specific requirements, with this dedicated launcher that features advanced parametrization
Windows Sandbox Launcher

4k Video Downloader

Export your favorite YouTube videos and playlists with this intuitive, lightweight program, built to facilitate downloading clips from the popular website
4k Video Downloader

Zoom Client

The official desktop client for Zoom, the popular video conferencing and collaboration tool used by millions of people worldwide
Zoom Client

% discount
Windows Sandbox Launcher
  • Windows Sandbox Launcher
  • 4k Video Downloader
  • Zoom Client
  • Context Menu Manager
  • calibre
  • 7-Zip
  • IrfanView
  • ShareX
  • Microsoft Teams
  • Bitdefender Antivirus Free
essentials


Click to load comments
This enables Disqus, Inc. to process some of your data. Disqus privacy policy