Amazon AWS SDK Guide de l'utilisateur Page 27 : Elements Reference

/ 155
Table des matières
from the
Amazon.AWSConfigs.EC2Config.UseSignatureVersion4
property in the AWS SDK for
.NET.)
The parent of the
ec2
element is the
aws (p. 21)
element.
The
ec2
element contains no child elements.
The following is an example of the
ec2
element in use:
...
<ec2
useSignatureVersion4="true" />
...

logging

The
logging
element represents a collection of settings for response logging and performance metrics
logging. This element can include the following attributes:
•
logMetrics
— Whether performance metrics will be logged for all clients and configurations (
true
);
otherwise,
false
. (This attribute maps to the
Amazon.Util.LoggingConfig.LogMetrics
property
from the
Amazon.AWSConfigs.LoggingConfig.LogMetrics
property in the AWS SDK for .NET.)
•
logMetricsCustomFormatter
— The data type and assembly name of a custom formatter for logging
metrics. (This attribute maps to the
Amazon.Util.LoggingConfig.LogMetricsCustomFormatter
property from the
Amazon.AWSConfigs.LoggingConfig.LogMetricsCustomFormatter
property
in the AWS SDK for .NET.)
•
logMetricsFormat
— The format in which the logging metrics are presented. (This attribute maps to
the
Amazon.Util.LoggingConfig.LogMetricsFormat
property from the
Amazon.AWSConfigs.LoggingConfig.LogMetricsFormat
property in the AWS SDK for .NET.)
Allowed values include:
•
JSON
— Use JSON format.
•
Standard
— Use the default format.
•
logResponses
— When to log service responses. (This attribute maps to the
Amazon.Util.LoggingConfig.LogResponses
property from the
Amazon.AWSConfigs.LoggingConfig.LogResponses
property in the AWS SDK for .NET.) Allowed
values include:
•
Always
— Always log service responses.
•
Never
— Never log service responses.
•
OnError
— Log service responses only when there are errors.
•
logTo
— Where to log to. (This attribute maps to the
Amazon.Util.LoggingConfig.LogTo
property
from the
Amazon.AWSConfigs.LoggingConfig.LogTo
property in the AWS SDK for .NET.) Allowed
values include one or more of:
•
Log4Net
— Log to log4net.
•
None
— Completely disable logging.
•
SystemDiagnostics
— Log to
System.Diagnostics
.
The parent of the
logging
element is the
aws (p. 21)
element.
The
logging
element contains no child elements.
The following is an example of the
logging
element in use:
Version v2.0.0
23
AWS SDK for .NET Developer Guide
Configuration Files Reference

Fichier PDF · ·

Imprimer

Imprimer le document

Partage

Questions sur Amazon AWS SDK

Pas encore de questions sur ce manuel. Posez la première.

Poser une question

Nous répondons à partir du manuel et indiquons la page. La question est publiée sur le site après vérification.

Toutes les questions et réponses ›

Produits connexes et manuels pour Logiciel Amazon AWS SDK