@kumar pmaha You should use Sqoop command > logfile 2>&1 instead. You can achieve the same functionality using Sqoop command &> logfile. Please let me know if you face any issues.
Highlighted
Re: redirect all stdout and error to logfile in sqoop command