How to write logs to new folder?

Hi the below is my code and my requirement is

 a. Whenever below scripts run � logs should be redirected to a new log file in /u/file/newlog folder. Please let me know how to write this info
#!/bin/ksh
choice=$1
browcher=$2
ne=$3
Flow=$4
logFile=~mbadm/redeploy.log
case "$choice" in
        "deploy")
                barFile=$4
                Flow=`echo $Flow|sed 's/.bar//'`
                #FlowName=`mqsireadbar -b $barFile|grep -E 'cmf|xsdzip|dictionary'|awk '{print $1}'|sed 's/.cmf//'`
                flag=`mqsilist $browcher -e $eg|grep $Flow|wc -l`
                echo `date` >> $logFile
                if [ flag -eq 1 ]; then
                        mqsideploy $browcher -e $ne -a $barFile >> $logFile
                else
                        echo "Flow not already deployed."       >> $logFile
                fi
                ;;
        "stop")
                echo `date` >> $logFile
                mqsistopmsgflow $browcher -e $ne -m $Flow >> $logFile
                ;;
        "start")
                echo `date` >> $logFile
                mqsistartmsgflow $browcher -e $ne -m $Flow >> $logFile
                ;;
        *)
                echo "Invalid option. Valid options are: deploy,stop,start."
esac

Hello and welcome to the forums.
Please use code tags as required (and accepted by you) by the forum rules.

Also, please follow the guide: Rules for Homework & Coursework Questions Forum

Thank you
(edit: just seeing its ksh, so me out after this post)

Try

logFile=/u/file/newlog/redeploy$(date +"%Y%m%d%H%M%S").log

Hi RUDIC,

you mean to say instead of

logFile=~wmqiadm/redeploy.log you want me to replace it with this file

logFile=/u/file/newlog/redeploy$(date +"%Y%m%d%H%M%S").log

Yes, exactly. That would create a new log file with an individual file name.

Uhm guysRudi...
Its homework and missing quite a bunch of information.