Im capturing all my script executions via the below commandexec > $LOGDIR/myfile.logexec 2>&1But the problem is my main script contains many other shell scripts(for different functions) which also captures another log in `$LOGDIR/myfile/today.logIf want to capture all the sub script executions also in one log file , say $LOGDIR/myfile.log.My present approach dosesn't capture exection details sub scripts.Can you please help on this.
Capture Log file from multiple scripts
bash