<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def set_log_details(aspera_log_path=None,
                        sdk_log_level=logging.NOTSET):
        ''' set the aspera log path - used by th Ascp process
            set the internal aspera sdk activity - for debug purposes '''
        if aspera_log_path:
            check_io_access(aspera_log_path, os.W_OK)
            AsperaTransferCoordinator.set_log_location(aspera_log_path)

        if sdk_log_level != logging.NOTSET:
            if logger:
                if not len(logger.handlers):
                    handler = logging.StreamHandler()
                    _fmt = '%(asctime)s %(levelname)s %(message)s'
                    handler.setFormatter(logging.Formatter(_fmt))
                    logger.addHandler(handler)
                    logger.setLevel(sdk_log_level)