@bigrigdriver: tee, out of the box, only reads from stdout, not stderr: make 2>&1 | tee file.txt
should fix that.
But that might not do what the OP asks. Are only stdout and stderr used? Maybe some stuff is redirected to a different descriptor.
Also this is kinda puzzling to me:
seems some of the things are not coming.
Seems? It either is or is not shown