Microsoft 방화벽 서비스가 텍스트 파일에 정보를 로깅하지 못했습니다.

Microsoft.Forefront.TMG.The_Microsoft_Firewall_service_failed_to_log_information_to_a_text_file.Rule (Rule)

이 규칙은 Microsoft 방화벽 서비스가 텍스트 파일에 정보를 로깅하지 못했을 때 경고를 생성합니다.

Knowledge Base article:

요약

방화벽 서비스에서 정보를 텍스트 파일에 기록하지 못하면 이벤트를 생성합니다. 이벤트의 첫 번째 매개 변수는 로깅 구성 요소의 이름입니다. 방화벽 또는 웹 프록시입니다.

이벤트의 두 번째 매개 변수는 텍스트 파일 이름을 나타냅니다.

경고의 세 번째 매개 변수는 로깅 폴더의 전체 경로를 나타냅니다.

원인

다음 상황에서는 텍스트 파일에 로깅할 수 없습니다.

해결

외부

TMG Server 로그에 대한 자세한 내용은 TMG Server 온라인 도움말의 "로그" 항목을 참조하십시오.

Element properties:

TargetMicrosoft.Forefront.TMG.Logging.TextFile
CategoryEventCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Forefront.TMG.Rule.AlertGenerate.DS Default
WA WriteAction Microsoft.Forefront.TMG.Rule.AlertGenerate.WA Default

Source Code:

<Rule ID="Microsoft.Forefront.TMG.The_Microsoft_Firewall_service_failed_to_log_information_to_a_text_file.Rule" Enabled="true" Target="Microsoft.Forefront.TMG.Logging.TextFile" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Forefront.TMG.Rule.AlertGenerate.DS">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<EventsPattern>^(5)$</EventsPattern>
<EventType>1</EventType>
<SourcePattern>Microsoft Forefront TMG Firewall</SourcePattern>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Forefront.TMG.Rule.AlertGenerate.WA">
<AlertMessageId>$MPElement[Name="Microsoft.Forefront.TMG.The_Microsoft_Firewall_service_failed_to_log_information_to_a_text_file.AlertMessage"]$</AlertMessageId>
<DomainName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/DomainDnsName$</DomainName>
<Priority>2</Priority>
<Severity>2</Severity>
</WriteAction>
</WriteActions>
</Rule>