Share via


DistributorLogging Element (ADF)

Provides a location for specifying distributor logging settings for the application. These settings determine what types of notification delivery information gets logged.

Sintassi

<ApplicationExecutionSettings>
    ...
    <DistributorLogging>

Element Characteristics

Characteristic Description

Data type and length

None.

Default value

None.

Occurrence

Optional once per ApplicationExecutionSettings element.

Updates

Can be added and deleted when updating the application.

Element Relationships

Relationship Elements

Parent element

ApplicationExecutionSettings Element (ADF)

Child elements

LogBeforeDeliveryAttempts Element (ADF)

LogStatusInfo Element (ADF)

LogNotificationText Element (ADF)

Osservazioni

The distributor can maintain various levels of logging to keep track of notification delivery information. This information is important when troubleshooting notification delivery issues, or in applications where notification delivery must be guaranteed and audited. Use the DistributorLogging section of the ApplicationExecutionSettings element to configure distributor logging. For more information, see Configurazione della registrazione dei server di distribuzione.

All of the DistributorLogging child elements are optional. If you do not specify any distributor logging options, exclude the DistributorLogging element from the ADF.

Esempio

The following example shows DistributorLogging settings. It specifies that the distributor logs all notification predelivery information and notification delivery status, but does not log the notification text itself.

<DistributorLogging>
    <LogBeforeDeliveryAttempts>true</LogBeforeDeliveryAttempts>
    <LogStatusInfo>true</LogStatusInfo>
    <LogNotificationText>false</LogNotificationText>
</DistributorLogging>

Vedere anche

Riferimento

Application Definition File Reference

Altre risorse

Configurazione della registrazione dei server di distribuzione
Aggiornamento di istanze e applicazioni

Guida in linea e informazioni

Assistenza su SQL Server 2005