Bash Tee Stdout и Stderr
command > >(tee stdout.log) 2> >(tee stderr.log >&2)
jdam
command > >(tee stdout.log) 2> >(tee stderr.log >&2)