:doc:`ManagedintegrationsforIoTDeviceManagement <../../iot-managed-integrations>` / Client / get_runtime_log_configuration

*****************************
get_runtime_log_configuration
*****************************



.. py:method:: ManagedintegrationsforIoTDeviceManagement.Client.get_runtime_log_configuration(**kwargs)

  

  Get the runtime log configuration for a specific managed thing.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-managed-integrations-2025-03-03/GetRuntimeLogConfiguration>`_  


  **Request Syntax**
  ::

    response = client.get_runtime_log_configuration(
        ManagedThingId='string'
    )
    
  :type ManagedThingId: string
  :param ManagedThingId: **[REQUIRED]** 

    The id for a managed thing.

    

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

    
    ::

      {
          'ManagedThingId': 'string',
          'RuntimeLogConfigurations': {
              'LogLevel': 'DEBUG'|'ERROR'|'INFO'|'WARN',
              'LogFlushLevel': 'DEBUG'|'ERROR'|'INFO'|'WARN',
              'LocalStoreLocation': 'string',
              'LocalStoreFileRotationMaxFiles': 123,
              'LocalStoreFileRotationMaxBytes': 123,
              'UploadLog': True|False,
              'UploadPeriodMinutes': 123,
              'DeleteLocalStoreAfterUpload': True|False
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ManagedThingId** *(string) --* 

        The id for a managed thing.

        
      

      - **RuntimeLogConfigurations** *(dict) --* 

        The runtime log configuration for a managed thing.

        
        

        - **LogLevel** *(string) --* 

          The different log levels available for configuration.

          
        

        - **LogFlushLevel** *(string) --* 

          The different log levels available for configuration.

          
        

        - **LocalStoreLocation** *(string) --* 

          Configuration of where to store runtime logs in the device.

          
        

        - **LocalStoreFileRotationMaxFiles** *(integer) --* 

          Configuration to set the maximum number of runtime log files that can be stored on the device before the oldest files are deleted or overwritten.

          
        

        - **LocalStoreFileRotationMaxBytes** *(integer) --* 

          Configuration to set the maximum bytes of runtime logs that can be stored on the device before the oldest logs are deleted or overwritten.

          
        

        - **UploadLog** *(boolean) --* 

          Configuration to enable or disable uploading of runtime logs to the cloud.

          
        

        - **UploadPeriodMinutes** *(integer) --* 

          Configuration to set the time interval in minutes between each batch of runtime logs that the device uploads to the cloud.

          
        

        - **DeleteLocalStoreAfterUpload** *(boolean) --* 

          Configuration to enable or disable deleting of runtime logs in the device once uploaded to the cloud.

          
    
  
  **Exceptions**
  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ValidationException`

  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.InternalServerException`

  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ThrottlingException`

  