Skip to content

RuntimeLogConfigurations

Source code in docs_src/capo_iot_managed_integrations/types/runtime_log_configurations.py
class RuntimeLogConfigurations(TypedDict, closed=True):
    log_level: NotRequired["capo_iot_managed_integrations.types.log_level.LogLevel"]
    """<p>The different log levels available for configuration.</p>"""
    log_flush_level: NotRequired[
        "capo_iot_managed_integrations.types.log_level.LogLevel"
    ]
    """<p>The different log levels available for configuration.</p>"""
    local_store_location: NotRequired[
        "capo_iot_managed_integrations.types.local_store_location.LocalStoreLocation"
    ]
    """<p>Configuration of where to store runtime logs in the device.</p>"""
    local_store_file_rotation_max_files: NotRequired[
        "capo_iot_managed_integrations.types.local_store_file_rotation_max_files.LocalStoreFileRotationMaxFiles"
    ]
    """<p>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.</p>"""
    local_store_file_rotation_max_bytes: NotRequired[
        "capo_iot_managed_integrations.types.local_store_file_rotation_max_bytes.LocalStoreFileRotationMaxBytes"
    ]
    """<p>Configuration to set the maximum bytes of runtime logs that can be stored on the device before the oldest logs are deleted or overwritten.</p>"""
    upload_log: NotRequired["capo_iot_managed_integrations.types.upload_log.UploadLog"]
    """<p>Configuration to enable or disable uploading of runtime logs to the cloud.</p>"""
    upload_period_minutes: NotRequired[
        "capo_iot_managed_integrations.types.upload_period_minutes.UploadPeriodMinutes"
    ]
    """<p>Configuration to set the time interval in minutes between each batch of runtime logs that the device uploads to the cloud.</p>"""
    delete_local_store_after_upload: NotRequired[
        "capo_iot_managed_integrations.types.delete_local_store_after_upload.DeleteLocalStoreAfterUpload"
    ]
    """<p>Configuration to enable or disable deleting of runtime logs in the device once uploaded to the cloud.</p>"""

delete_local_store_after_upload instance-attribute

delete_local_store_after_upload: NotRequired[DeleteLocalStoreAfterUpload]

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

local_store_file_rotation_max_bytes instance-attribute

local_store_file_rotation_max_bytes: NotRequired[LocalStoreFileRotationMaxBytes]

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

local_store_file_rotation_max_files instance-attribute

local_store_file_rotation_max_files: NotRequired[LocalStoreFileRotationMaxFiles]

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.

local_store_location instance-attribute

local_store_location: NotRequired[LocalStoreLocation]

Configuration of where to store runtime logs in the device.

log_flush_level instance-attribute

log_flush_level: NotRequired[LogLevel]

The different log levels available for configuration.

log_level instance-attribute

log_level: NotRequired[LogLevel]

The different log levels available for configuration.

upload_log instance-attribute

upload_log: NotRequired[UploadLog]

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

upload_period_minutes instance-attribute

upload_period_minutes: NotRequired[UploadPeriodMinutes]

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