HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/awscli/examples/iot/set-v2-logging-options.rst
**To set the logging options**

The following ``set-v2-logging-options`` example sets the default logging verbosity level to ERROR and specifies the ARN to use for logging. ::

    aws iot set-v2-logging-options \
        --default-log-level ERROR \
        --role-arn "arn:aws:iam::094249569039:role/service-role/iotLoggingRole"

This command produces no output.