2
« on: December 23, 2017, 06:40:33 AM »
Such great inspiration Cryptowally! Thanks for sharing and thanks as well as to AlfonseX for the tips on 'unbuffer' and 'multitail -cT ANSI'.
I'd love to see where you got with the "better console" idea. Definitely a direction I'm curious in going.
For now I'm enjoying multitail. I've made the following adjustments to your process:
1) In multitail.conf I use 'follow_filename:yes' to have it continue after a log rotation. I've also been playing with the 'filterscheme', 'rule', and 'usefilterscheme' options to control the input, instead of the command line options. The changes look like this:
# follow filename instead of descriptor?
follow_filename:yes
filterscheme:gunbot-filter:description
rule:ev:"before to buy"
...
rule:ev:"next delay"
usefilterscheme:gunbot-filter:out.log
2) I added the 'copytruncate' option to my 'logrotate.d/gunbot' file. That allows 'tee -a out.log' to continue writing to the file without restarting.