WWW hizmeti, merkezi W3C günlük kaydı özelliklerini yapılandıramadı

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

Knowledge Base article:

Özet

Site, Merkezi İkili veya Merkezi W3C günlük kaydı için bir Internet Information Services (IIS) Web sunucusu yapılandırılabilir. Merkezi W3C günlük kaydında, tüm sitelere ilişkin istemci isteklerinin tamamı sunucuda W3C merkezi formatıyla tek bir günlük dosyasına kaydedilir. Merkezi İkili günlük kaydı da tüm siteleri tek bir merkezi günlük dosyasına kaydeder ancak merkezi ikili formatını kullanır. Site günlük kaydında, tüm istemci istekleri, sunucu düzeyinde merkezi olarak değil site düzeyinde kaydedilir. Bu günlük kaydı türlerinin yapılandırması World Wide Web Yayımlama Hizmeti'ne bağlıdır.

Çözümler

W3SVC hizmetini durdurma ve yeniden başlatma

World Wide Web Yayımlama Hizmeti durdurmak ve yeniden başlatmak için:

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>