Could you tell us more? You provided very little information for us to work with, but I will try to help.
The > operator will redirect the normal output (stdout) to a file, but not error messages (stderr). If you wish to output both stdout and stderr to a file, use the 2> operator, or &> if your system has it:
# redirect stdout but not stderr:
date > $logfile
# redirect stderr but not stdout:
date 2> $logfile
# redirect both stdout and stderr in the old way:
date > $logfile 2>&1
# redirect both stdout and stderr in the new way (since bash 4):
date &> $logfile
Next point: The > operator overwrites the previous file. Use >> to append to an existing file.
# (see above comments)
date >> $logfile
date 2>> $logfile
date >> $logfile 2>&1
date &>> $logfile
Finally, bear in mind that > and >> write to the current working directory, unless you specify the full path of the output file. Perhaps your output has been redirected to a file but you are looking for it in the wrong directory.