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