TEE BASH STDOUT Y STDERR
command > >(tee stdout.log) 2> >(tee stderr.log >&2)
jdam
command > >(tee stdout.log) 2> >(tee stderr.log >&2)