User guide

<logging logMetrics="true"/>
Alternatively, set the AWSLogMetrics key in the <appSettings> section:
<add key="AWSLogMetrics" value="true">
Alternatively, to set metrics logging with the SDK for .NET API, set the AWSConfigs.LogMetrics
property:
AWSConfigs.LogMetrics = true;
This setting configures the default LogMetrics property for all clients/configs. Changes to this setting
take effect only for new AWS client instances.
AWSRegion
Configures the default AWS region for clients which have not explicitly specified a region.
To set the region in the .config file, the recommended approach is to set the region attribute
value in the aws element:
<aws region="us-west-2"/>
Alternatively, set the AWSRegion key in the <appSettings> section:
<add key="AWSRegion" value="us-west-2"/>
Alternatively, to set the region with the SDK for .NET API, set the AWSConfigs.AWSRegion property:
AWSConfigs.AWSRegion = "us-west-2";
Changes to this setting take effect only for new AWS client instances.
AWSResponseLogging
Configures when the SDK should log service responses.
The possible values are:
Never – Never log service responses. This is the default.
Always – Always log service responses.
OnError – Only log service responses when an error occurs.
To set the service logging configuration in the .config file, the recommended approach is to set
the logResponses attribute value in the logging element, which is a child element of the aws
element:
<logging logResponses="OnError"/>
Alternatively, set the AWSResponseLogging key in the <appSettings> section:
<add key="AWSResponseLogging" value="OnError"/>
Alternatively, to set service logging with the SDK for .NET API, set the AWSConfigs.ResponseLogging
property to one of the values of the ResponseLoggingOption enumeration:
Version v2.0.0
16
AWS SDK for .NET Developer Guide
Additional Application Parameters