made rotate log button rotate the log to the upload directories