'Create symbolic link to the current day\'s log directory to
allow easy access to the latest scheduler log files.
:return: None'

def symlink_latest_log_directory(self):

    log_directory = self._get_log_directory()
    latest_log_directory_path = os.path.join(self._child_process_log_directory, u'latest')
    if os.path.isdir(log_directory):
        if os.path.islink(latest_log_directory_path):
            if (os.readlink(latest_log_directory_path) != log_directory):
                os.unlink(latest_log_directory_path)
                os.symlink(log_directory, latest_log_directory_path)
        elif (os.path.isdir(latest_log_directory_path) or os.path.isfile(latest_log_directory_path)):
            self.logger.warning(u'{}    already    exists    as    a    dir/file.    Skip    creating    symlink.'.format(latest_log_directory_path))
        else:
            os.symlink(log_directory, latest_log_directory_path)
