When setting "set -x" inside bash script, or if you run your script with
bash -x, you will get all the arguments printed to the screen together with the stdout.
Is it possible to have stderr and stdout printed to screen but redirecting the
set -x output to the log file without having it printed to the screen?
The idea is to have all the info I can get inside the log, but only print regular stdout and stderr to the screen.