Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Specifies whether the distributor makes an entry in the distribution log before delivering a notification.
Syntax
<ApplicationExecutionSettings>
...
<DistributorLogging>
<LogBeforeDeliveryAttempts>
Element Characteristics
| Characteristic | Description |
|---|---|
Data type |
Boolean. |
Default value |
true. |
Occurrence |
Optional once per DistributorLogging element. |
Updates |
Can be added, deleted, and modified when updating the application. |
Element Relationships
| Relationship | Elements |
|---|---|
Parent element |
|
Child elements |
None. |
Hinweise
If the LogBeforeDeliveryAttempts value is true, Notification Services creates a row for each notification in the NSDistributionLog table before sending the notification. The distributor then logs predelivery information, including the notification ID, notification class, distributor, and delivery request time.
Your application can also log delivery status and notification text for all or just failed notifications by configuring the LogStatusInfo Element (ADF) and LogNotificationText Element (ADF).
A LogBeforeDeliveryAttempts value of true has a negative impact on application performance because Notification Services logs information one notification at a time. Most applications still perform well, but if you need to improve performance, set this value to false. Notification Services will still log notification text and status for failed notifications.
To view log data, use the NS<NotificationClassName>NotificationDistribution (Sicht).
Beispiel
The following example shows how to configure the distributor to not log basic information about each notification.
<LogBeforeDeliveryAttempts>false</LogBeforeDeliveryAttempts>
Siehe auch
Verweis
Application Definition File Reference
Andere Ressourcen
Konfigurieren der Verteilerprotokollierung
Aktualisieren von Instanzen und Anwendungen