The problem with piping to tee:
This project remaps [crtl-] to [ctrl-r], and handles the signal with a restart. Similar to how it would respond to firetower -r. here
So, with firetower 'echo hi' | tee logfile.txt, you can catch the logs. and firetower -r continues to work as expected. But the ctrl-r somehow breaks the pipeline instead of restarting the firetower host.
Add an option which would tee to a logfile so the firetower host process can still respond to [ctrl-r].
The problem with piping to tee:
This project remaps [crtl-] to [ctrl-r], and handles the signal with a restart. Similar to how it would respond to
firetower -r. hereSo, with
firetower 'echo hi' | tee logfile.txt, you can catch the logs. andfiretower -rcontinues to work as expected. But thectrl-rsomehow breaks the pipeline instead of restarting the firetower host.Add an option which would
teeto a logfile so the firetower host process can still respond to [ctrl-r].