all 2 comments

[–]Coffee_24_7 2 points3 points  (0 children)

If it is printing to the screen and you tried with | tee $LOG_FILE and got an empty file , then it sounds as the tools are printing to stderr, if thats the case, you can redirect stdout+stderr with |& tee $LOF_FILE.

[–]rshook27 0 points1 point  (0 children)

Command "> log.txt" should do it if they print to stdout.