WWW サービスは、集中 W3C ログ プロパティを構成できませんでした

Microsoft.Windows.InternetInformationServices.10.0.WWW.service.failed.to.configure.the.centralized.W3C.logging.properties (Rule)

Knowledge Base article:

概要

インターネット インフォメーション サービス (IIS) Web サーバーは、サイト ログ、バイナリ集中ログ、W3C 集中ログを構成できます。W3C 集中ログでは、すべてのサイトのすべてのクライアント要求は、サーバー上の 1 つのログ ファイルに集中 W3C 形式で記録されます。バイナリ集中ログにも、すべてのサイトが 1 つのファイルにまとめて記録されますが、集中バイナリ形式で記録されます。サイト ログでは、すべてのクライアント要求は、サーバー レベルで集中的に記録されるのではなく、サイト レベルで記録されます。これらの種類のログの構成は、World Wide Web 発行サービスに依存します。

解決方法

W3SVC を停止し、再起動する

World Wide Web 発行サービスを停止し、再起動するには:

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.10.0.WebServer
CategoryAlert
EnabledTrue
Event SourceMicrosoft-Windows-IIS-W3SVC
Alert GenerateFalse
RemotableTrue
Event LogSystem

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
WA WriteAction Microsoft.Windows.Server.IIS.10.0.GenerateAlertAction.SuppressedByDescription Default

Source Code:

<Rule ID="Microsoft.Windows.InternetInformationServices.10.0.WWW.service.failed.to.configure.the.centralized.W3C.logging.properties" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.WebServer" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-IIS-W3SVC</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(1135|1134)$</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Windows.Server.IIS.10.0.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.10.0.WWW.service.failed.to.configure.the.centralized.W3C.logging.properties.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>