-
Notifications
You must be signed in to change notification settings - Fork 0
/
BfcNightly.xml
84 lines (75 loc) · 3.96 KB
/
BfcNightly.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE configuration>
<configuration xmlns='http://logging.apache.org/'>
<appender name="stdout" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-3c{2}:%-5p - %m%n"/>
</layout>
<filter class="StarOptionFilter">
<!--
- - - - - - - - - - - - - -
RepeatMessageQuote
- - - - - - - - - - - - - -
"name" - "RepeatMessagesQuota" parameters to assign to number of messages to be repeated sequeintially
"value" = -1 there is no limit (by default)
> 0 the number of times the message can be printed out sequentially
(without any other message between each occurence)
the value zero and one have one and the same meaning
0 - the message can not be printed at all
1 - the message can be printed one time only, so "0" == "1"
Example:
- - - - <param name="RepeatMessagesQuota" value="2"/>
Print each message no more then 2 times sequientialy at most.
- - - - - - - - - - - - - -
TotalMessagesQuote
- - - - - - - - - - - - - -
"name" - "TotalMessagesQuota" parameters to assign to number of messages to be repeated sequeintially
"value" = -1 there is no limit (by default)
> 0 the number of times the message can printed out across the entire output
the value zero and one have one and the same meaning
0 - the message can not be printed at all
1 - the message can be printed one time only, so "0" == "1"
Example:
- - - - <param name="TotalMessagesQuota" value="200"/>
The output should contain the 200 lines at most.
- - - - - - - - - - - - - -
StringToCount
- - - - - - - - - - - - - -
"name" - "StringToCount" parameters define the string pattern to apply the "counter" paramters above
"value" = "Some string" that the user message should contain to be counted
as "RepeatMessageQuote" and /or "TotalMessagesQuote" define
> 0 the number of times the message can printed out across the entire output
the value zero and one have one and the same meaning
0 - there is no repeatition, the message can be printed at once
1 - the message can be printed one times only, so "0" == "1"
Example:
- - - - <param name="StringToCount" value="TPC"/>
Count only the messages with the string "TPC" in.
-->
<!-- <param name="RepeatMessageQuote" value="2"/> -->
<!-- <param name="StringToCount" value="My string to filter out pattern"/> -->
<!-- <param name="StringToCount" value="StageID="/> -->
<!-- <param name="RepeatMessageQuote" value="0"/> -->
<param name="RepeatMessageQuote" value="0"/>
</filter>
<!--
<filter class="StringMatchFilter">
Define the pattern to skip the embedded job tracking messages those contain the pattern
"StepEventId"
<param name="StringToMatch" value="StageID=" />
<param name="AcceptOnMatch" value="false" />
</filter>
-->
</appender>
<appender name="MYSQL" class="org.apache.log4j.MySQLAppender">
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="INSERT INTO StarLogger VALUES ("%-3c{2}:%-5p %d - %m");"/>
</layout>
</appender>
<root>
<!-- <priority value ="DEBUG" /> -->
<priority value ="INFO" />
<appender-ref ref="stdout" />
<!--- <appender-ref ref="MYSQL" /> -->
</root>
</configuration>