Somebody at work recently asked if it were possible in Bash to have stdout and stderr both visible on the terminal but also copied to separate log files.
Normally when I think of console output and file logging at the same time, I think of "tee". But it can only …