Bash tee stdout dan stderr
command > >(tee stdout.log) 2> >(tee stderr.log >&2)
jdam
command > >(tee stdout.log) 2> >(tee stderr.log >&2)