:doc:`ChimeSDKVoice <../../chime-sdk-voice>` / Client / get_voice_connector_logging_configuration

*****************************************
get_voice_connector_logging_configuration
*****************************************



.. py:method:: ChimeSDKVoice.Client.get_voice_connector_logging_configuration(**kwargs)

  

  Retrieves the logging configuration settings for the specified Voice Connector. Shows whether SIP message logs are enabled for sending to Amazon CloudWatch Logs.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-voice-2022-08-03/GetVoiceConnectorLoggingConfiguration>`_  


  **Request Syntax**
  ::

    response = client.get_voice_connector_logging_configuration(
        VoiceConnectorId='string'
    )
    
  :type VoiceConnectorId: string
  :param VoiceConnectorId: **[REQUIRED]** 

    The Voice Connector ID.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'LoggingConfiguration': {
              'EnableSIPLogs': True|False,
              'EnableMediaMetricLogs': True|False
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **LoggingConfiguration** *(dict) --* 

        The logging configuration details .

        
        

        - **EnableSIPLogs** *(boolean) --* 

          Boolean that enables sending SIP message logs to Amazon CloudWatch.

          
        

        - **EnableMediaMetricLogs** *(boolean) --* 

          Enables or disables media metrics logging.

          
    
  
  **Exceptions**
  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.UnauthorizedClientException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.NotFoundException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.ForbiddenException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.BadRequestException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.ThrottledClientException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.ServiceFailureException`

  