CmdID

CmdID / aws / aws iot

aws iot get-v2-logging-options

Gets the fine grained logging options. AWS CLI reference

1 example 1 option Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To list the current logging options

The following get-v2-logging-options example lists the current logging options for AWS IoT.

aws iot get-v2-logging-optionsIdentify
Its output
{
    "roleArn": "arn:aws:iam::123456789012:role/service-role/iotLoggingRole",
    "defaultLogLevel": "WARN",
    "disableAllLogs": false
}

For more information, see Configure AWS IoT logging in the AWS IoT Core Developer Guide.

Options

1 in the AWS CLI reference
--verboseThe flag is used to get all the event types and their respective configuration that event-based logging supports.