Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AWS Tools for Windows PowerShell
Command Reference

Synopsis

Modify response logging options for AWS service requests.

Syntax

Set-AWSResponseLogging
-Level <String>

Description

Modify when to produce log entries.

Parameters

-Level <String>
When to log responses.
Required?False
Position?1
Accept pipeline input?True (ByPropertyName)

Outputs

None
This cmdlet does not produce any output.

Examples

Example 1

Set-AWSResponseLogging -Level Always
Enables logging of all service responses configured in the attached listeners. Other values for the -Level parameter are 'Never', which turns off logging and 'OnError' which logs only error responses.

Supported Version

AWS Tools for PowerShell: 4.1.793.0