eis/config/conf/LogSearchService.xml

18 lines
920 B
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<SearchService>
<!-- 一对<Condition></Condition>标签为一组搜索条件,可以设置专为一个服务的日志进行检索 -->
<!-- id是一组<Condition>的唯一标志int型自增不能出现相同id
ResultFileSize是存放检索结果的文件的最大容量(单位KB),达到限定值时清除;
CycleTime是检索轮询周期时长Description是对检索条件的描述。
每一个<Condition>会在“$iPlature/log/”目录下存入一个.txt结果文件命名为“LS_<id>” -->
<Condition id="1" ResultFileSize="2048" CycleTime="12" Description="这里是对该Condition块的作用描述">
<SearchTerm>TagAdmin</SearchTerm>
<KeyWord>WARN</KeyWord>
<KeyWord>ERROR</KeyWord>
<LogLocation>TagAdmin.log</LogLocation>
</Condition>
<Condition id="2" ResultFileSize="2048" CycleTime="6" Description="这里是对该Condition块的作用描述">
<SearchTerm>1AlarmServer</SearchTerm>
<KeyWord>ERROR</KeyWord>
<LogLocation>1AlarmServer.log</LogLocation>
</Condition>
</SearchService>