Skip to main content

A simple, colourful logfile watcher

Project description


watchlogs is a simple command line utility for watching multilpe log files and interleaving their contents to stdout as each log is appended to. It aims to achieve the functionality of tail -F, but with more colour.


watchlogs --log_files /path/to/log1.txt,/path/to/log2.txt,....


Install via pip install watchlogs. If you prefer to hack around with the source code, it's a single python file.


watchlogs has the following behaviour when log.txt is updated (assuming that watchlogs --log_files log.txt has been run):

  • action: appending (supported) echo "x" >> log.txt (prints x to screen)

  • action: moving/rotating (supported) touch log2.txt ; echo "y" > log2.txt ; mv log2.txt log.txt (printsy to screen)

  • action: overwritng in-place (not supported): echo "z" > log.txt (z is lost)


watchlogs uses the tailf library to monitor OS events.


  • Python >= 3.6
  • seaborn
  • colored
  • tailf
  • psutil

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

watchlogs- (4.2 kB view hashes)

Uploaded source

Built Distribution

watchlogs- (5.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page