Menu
AWS Greengrass
API Reference

GetLoggerDefinitionVersionResponse

type: object

Information about a logger definition version.

properties:

  • Arn:

    The arn of the logger definition version.

    type: string

  • Id:

    The id of the logger definition version.

    type: string

  • Version:

    The unique id of the logger definition version.

    type: string

  • CreationTimestamp:

    The time when the logger definition version was created.

    type: string

  • Definition:

    Information about the logger definition version.

    LoggerDefinitionVersion

    type: object

    Information about a logger definition version.

    properties:

    • Loggers

      A list of loggers.

      type: array

      items:

      The logger definition.

      Logger

      type: object

      Information about a logger

      required: Id|Type|Component|Level

      properties:

      • Id:

        The id of the logger.

        type: string

      • Type:

        The type of log output which will be used.

        LoggerType:

        type: string

        enum: FileSystem|AWSCloudWatch

      • Component:

        The component that will be subject to logging.

        LoggerComponent:

        type: string

        enum: GreengrassSystem|Lambda

      • Level:

        The level of the logging.

        LoggerLevel:

        type: string

        enum: DEBUG|INFO|WARN|ERROR|FATAL

      • Space:

        The amount of memory to use, in KB, if the local file system is used for logging.

        type: integer

Example:

Copy
{ "Arn": "string", "Id": "string", "Version": "string", "CreationTimestamp": "string", "Definition": { "Loggers": [ { "Id": "string", "Type": "FileSystem|AWSCloudWatch", "Component": "GreengrassSystem|Lambda", "Level": "DEBUG|INFO|WARN|ERROR|FATAL", "Space": 0 } ] } }