I want to log the standard output and error info from running my program, using the following command:
stdbuf -o 0 ./myprogram|& tee mylog
it works fine in one computer, I can see both standard output and stderr output on screen and in
mylog. but in another computer, I can only see the standard output in screen and
mylog. They are both Fedora OS and x86_64.