def METHOD_NAME(self, opts):
    """
    Reset ``log_max_bytes`` and ``log_backup_count`` if changed on reload
    """
    log_max_bytes = opts.get(constants.APP_CONFIG_LOG_MAX_BYTES)
    log_backup_count = opts.get(constants.APP_CONFIG_LOG_BACKUP_COUNT)
    # loop through handlers and find the RotatingFileHandler
    # (it will be there -- just need to find it in the list)
    handlers = getattr(logging.getLogger(), "handlers", [])
    for handler in handlers:
        if isinstance(handler, RotatingFileHandler):
            # update values as appropriate
            if log_backup_count is not None and handler.backupCount != log_backup_count:
                LOG.debug("Reloaded 'log_backup_count' to '%s'",log_backup_count)
                handler.backupCount = log_backup_count
            if log_max_bytes is not None and handler.maxBytes != log_max_bytes:
                LOG.debug("Reloaded 'log_max_bytes' to '%s'", log_max_bytes)
                handler.maxBytes = log_max_bytes
            break # break the loop as we only needed the RotatingFileHandler