Menu
AWS Greengrass
API Reference

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
{ "Id": "string", "Type": "FileSystem|AWSCloudWatch", "Component": "GreengrassSystem|Lambda", "Level": "DEBUG|INFO|WARN|ERROR|FATAL", "Space": 0 }