중앙 로깅을 구성하는 동안 WAS에서 오류가 발생했습니다.

Microsoft.Windows.InternetInformationServices.10.0.WAS.encountered.an.error.attempting.to.configure.centralized.logging (Rule)

Knowledge Base article:

요약

IIS(인터넷 정보 서비스) WAS(Windows Process Activation Service) 구성 관리자는 유지 관리되는 응용 프로그램 풀 및 프로토콜 어댑터에 대한 구성을 관리합니다. WAS가 구성을 읽거나 구성 변경 알림을 적용할 때 문제가 발생하면 WAS에서 관리되는 엔터티의 구성 변경이 처리되지 않을 수 있습니다.

해결 방법

중앙 로깅 수정

중앙 로깅 구성을 수정하려면 IIS 관리자를 사용한 다음 W3SVC를 중지했다가 다시 시작하여 구성을 다시 적용합니다. 어떤 구성 값을 사용할지 잘 모르는 경우 %SystemDrive%\Windows\System32\inetsrv\config\schema \IIS_Schema.xml 파일의 <sectionSchema name="system.applicationHost/log"> 섹션에 있는 IIS의 기본 로깅 값을 사용합니다.

기본 IIS 로깅 값 보기

메모장을 사용하여 기본 IIS 로깅 값을 보려면:

IIS 관리자를 사용하여 중앙 로깅 구성

IIS 관리자를 사용하여 중앙 로깅을 구성하려면:

W3SVC 중지 및 다시 시작

W3SVC를 중지했다가 다시 시작하려면:

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.10.0.WebServer
CategoryAlert
EnabledTrue
Event_ID5066
Event SourceMicrosoft-Windows-WAS
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.WAS.encountered.an.error.attempting.to.configure.centralized.logging" 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-WAS</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>5066</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Windows.Server.IIS.10.0.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.10.0.WAS.encountered.an.error.attempting.to.configure.centralized.logging.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>