Redirect the output in shell script for tftp

I've been using tftp in one of my file

#!/bin/bash
filename1="config1h.txt"
filename2="config15.txt"
hostname="test.com"
tftp $hostname <</dev/null
get $filename1
get $filename2
quit
EOF

My output looks like this

[root@sys Script]# ./test3.sh
tftp> Received 1262 bytes in 0.0 seconds
tftp> Received 190 bytes in 0.0 seconds
tftp> [root@sys Script]#

Now i dont need the tftp output to be printed to the screen. I want to redirect to some temp file.

Try this

./test3.sh >/dev/null 2>&1
./test3.sh >/tmp/log.txt 2>&1

regards,
Ahamed

I dont want the whole script to be redirected to some log file. Only the tftp portion i wanna redirect that too inside the script and not while executing the script