def _parse_logging(log_values: dict, service_config: dict):
        """Parse log key.

        Args:
            log_values (dict): logging configuration values
            service_config (dict): Service specification
        """
        for log_key, log_value in log_values.items():
            if 'driver' in log_key:
                service_config['log_driver'] = log_value
            if 'options' in log_key:
                service_config['log_driver_options'] = log_value
def _parse_logging ( log_values : dict , service_config : dict ) : for log_key , log_value in log_values . items ( ) : if 'driver' in log_key : service_config [ 'log_driver' ] = log_value if 'options' in log_key : service_config [ 'log_driver_options' ] = log_value
Parse log key.

        Args:
            log_values (dict): logging configuration values
            service_config (dict): Service specification