Audible log tailing

Tyler Cipriani 6c5c655eb7 Sleep so my cpu doesn't max out 6 years ago
bin 6c5c655eb7 Sleep so my cpu doesn't max out 6 years ago
share ae46abd9f5 initial commit 6 years ago
.gitignore ae46abd9f5 initial commit 6 years ago
LICENSE 01469bc43f Initial commit 6 years ago
Makefile ae46abd9f5 initial commit 6 years ago
README.md ae46abd9f5 initial commit 6 years ago

README.md

Bloop!

Audible log tailing.

I just want to have audible confirmation that things are happening.

This comes up a lot for me as a frequent deployer of software. I'm busy in the terminal, watching the progress of a deploy, or checking on some other metric in a browser page when suddenly: the deployment goes all wrong! Error messages everywhere! I need to revert fast! ...but sometimes I miss the error messages for a minute or two.

What I want is a script that I can spin up in another tmux window that just bloops when there's a new line on stdin. Behold the glory of bloop!

Example usage:

tail -f /var/log/some/error.log | bloop

or remote use:

ssh logserver -- tail -f /var/log/some/error.log | bloop