Поделиться через


LogNotificationText Element (ADF)

Configures the distributor to log all notification text from the delivery protocol for all notifications or just failed notifications.

Синтаксис

<ApplicationExecutionSettings>
    ...
    <DistributorLogging>
        ...
        <LogNotificationText>

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

DistributorLogging Element (ADF)

Child elements

None.

Замечания

Notification Services always logs notification text for failed deliveries. Setting the LogNotificationText value to true configures Notification Services to log notification text for all notifications.

The logged notification text is from the delivery protocol, which includes all notification text plus header text. The logged text is truncated at 2048 Unicode characters.

To view log data, use the Представление NS<ИмяКлассаУведомлений>NotificationDistribution.

Пример

The following example shows how to configure the distributor to log notification text only for failed notifications.

<LogNotificationText>false</LogNotificationText>

См. также

Справочник

Application Definition File Reference

Другие ресурсы

Настройка ведения журнала на распространителе
Обновление экземпляров и приложений

Справка и поддержка

Получение помощи по SQL Server 2005