____ _ _ | __ )| | ___ ___ _ __ | | | _ \| |/ _ \ / _ \| '_ \| | | |_) | | (_) | (_) | |_) |_| |____/|_|\___/ \___/| .__/(_) |_|
Audible log tailing. (Get Bloop!)
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!
tail -f /var/log/some/error.log | bloop
or remote use:
ssh logserver -- tail -f /var/log/some/error.log | bloop