blob: 3f915d025900c6758d4e743d7c66cd8c81097497 (
plain)
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
|
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="INFO">
<Appenders>
<Console name="CONSOLE" target="SYSTEM_OUT" >
<LevelRangeFilter maxLevel="INFO" minLevel="ERROR"/>
<PatternLayout
pattern="%d{${LOG_DATEFORMAT_PATTERN:-yyyy-MM-dd HH:mm:ss.SSS}} %highlight{${LOG_LEVEL_PATTERN:-%5p}}{FATAL=red blink, ERROR=red, WARN=yellow bold, INFO=green, DEBUG=green bold, TRACE=blue} %style{${sys:PID}}{magenta} [%15.15t] %style{%-40.40C{1.}}{cyan} : %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}"/>
</Console>
<RollingFile fileName="logs/collector.log" filePattern="logs/collector-%d{yyyy-MM-dd}-%i.log" name="ROL_CONSOLE">
<LevelRangeFilter maxLevel="INFO" minLevel="ERROR"/>
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss} %-5p %m%n"/>
<Policies>
<SizeBasedTriggeringPolicy size="64 MB"/>
</Policies>
<DefaultRolloverStrategy max="10"/>
</RollingFile>
<RollingFile fileName="logs/input.log" filePattern="logs/input-%d{yyyy-MM-dd}-%i.log" name="IFILE">
<LevelRangeFilter maxLevel="INFO" minLevel="INFO"/>
<PatternLayout pattern="[%d{ISO8601}][%-5p][%-10t][%-5c]%m%n"/>
<Policies>
<SizeBasedTriggeringPolicy size="32 MB"/>
</Policies>
<DefaultRolloverStrategy max="10"/>
</RollingFile>
<RollingFile fileName="logs/output.log" filePattern="logs/output-%d{yyyy-MM-dd}-%i.log" name="OFILE">
<LevelRangeFilter maxLevel="INFO" minLevel="INFO"/>
<PatternLayout pattern="[%d{ISO8601}][%-5p][%-10t][%-5c]%m%n"/>
<Policies>
<SizeBasedTriggeringPolicy size="32 MB"/>
</Policies>
<DefaultRolloverStrategy max="10"/>
</RollingFile>
<RollingFile fileName="logs/error.log" filePattern="logs/error-%d{yyyy-MM-dd}-%i.log" name="EFILE">
<LevelRangeFilter maxLevel="ERROR" minLevel="ERROR"/>
<PatternLayout pattern="[%d{ISO8601}][%-5p][%-10t][%-5c]%m%n"/>
<Policies>
<SizeBasedTriggeringPolicy size="64 MB"/>
</Policies>
<DefaultRolloverStrategy max="10"/>
</RollingFile>
<RollingFile fileName="logs/eelf/audit.log" filePattern="logs/eelf/audit-%d{yyyy-MM-dd}-%i.log" name="EELF_AUDIT">
<LevelRangeFilter maxLevel="DEBUG" minLevel="INFO"/>
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss} %-5p %m%n"/>
<Policies>
<SizeBasedTriggeringPolicy size="64 MB"/>
</Policies>
<DefaultRolloverStrategy max="20"/>
</RollingFile>
<RollingFile fileName="logs/eelf/metric.log" filePattern="logs/eelf/metric-%d{yyyy-MM-dd}-%i.log" name="EELF_METRIC">
<LevelRangeFilter maxLevel="INFO" minLevel="INFO"/>
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss} %-5p %m%n"/>
<Policies>
<SizeBasedTriggeringPolicy size="64 MB"/>
</Policies>
<DefaultRolloverStrategy max="20"/>
</RollingFile>
<RollingFile fileName="logs/eelf/error.log" filePattern="logs/eelf/error-%d{yyyy-MM-dd}-%i.log" name="EELF_ERROR">
<LevelRangeFilter maxLevel="ERROR" minLevel="ERROR"/>
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss} %-5p %m%n"/>
<Policies>
<SizeBasedTriggeringPolicy size="64 MB"/>
</Policies>
<DefaultRolloverStrategy max="20"/>
</RollingFile>
<RollingFile fileName="logs/eelf/debug.log" filePattern="logs/eelf/debug-%d{yyyy-MM-dd}-%i.log" name="EELF_DEBUG">
<LevelRangeFilter maxLevel="DEBUG" minLevel="DEBUG"/>
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss} %-5p %m%n"/>
<Policies>
<SizeBasedTriggeringPolicy size="64 MB"/>
</Policies>
<DefaultRolloverStrategy max="20"/>
</RollingFile>
</Appenders>
<Loggers>
<logger additivity="false" level="error" name="org.onap.dcaegen2.services.sdk">
<AppenderRef ref="ROL_CONSOLE"/>
<AppenderRef ref="EFILE"/>
</logger>
<logger additivity="false" level="error" name="org.onap.dcae.restapi">
<AppenderRef ref="ROL_CONSOLE"/>
<AppenderRef ref="EFILE"/>
</logger>
<Logger additivity="false" level="info" name="org.onap.dcae.common.input">
<AppenderRef ref="IFILE"/>
<AppenderRef ref="ROL_CONSOLE"/>
</Logger>
<Logger additivity="false" level="info" name="org.onap.dcae.common.output">
<AppenderRef ref="CONSOLE"/>
<AppenderRef ref="OFILE"/>
<AppenderRef ref="ROL_CONSOLE"/>
</Logger>
<Logger additivity="false" level="debug" name="org.onap.dcae.common.error">
<AppenderRef ref="EFILE"/>
<AppenderRef ref="CONSOLE"/>
<AppenderRef ref="EELF_ERROR"/>
<AppenderRef ref="ROL_CONSOLE"/>
</Logger>
<!--NOT USED-->
<Logger additivity="false" level="info" name="com.att.ecomp.audit">
<AppenderRef ref="CONSOLE"/>
<AppenderRef ref="EELF_AUDIT"/>
<AppenderRef ref="ROL_CONSOLE"/>
</Logger>
<Logger additivity="false" level="info" name="com.att.ecomp.metrics">
<AppenderRef ref="EELF_METRIC"/>
<AppenderRef ref="ROL_CONSOLE"/>
</Logger>
<!--NOT USED-->
<Logger additivity="false" level="info" name="com.att.ecomp.error">
<AppenderRef ref="EELF_ERROR"/>
<AppenderRef ref="ROL_CONSOLE"/>
</Logger>
<!--NOT USED-->
<Logger additivity="false" level="info" name="com.att.ecomp.debug">
<AppenderRef ref="EELF_DEBUG"/>
<AppenderRef ref="ROL_CONSOLE"/>
</Logger>
<!--NOT USED-->
<Logger additivity="false" level="debug" name="org.onap.dcae.common.EventPublisher">
<AppenderRef ref="CONSOLE"/>
<AppenderRef ref="ROL_CONSOLE"/>
</Logger>
<!--NOT USED-->
<Logger additivity="false" level="info" name="com.att.nsa.apiClient.http.HttpClient">
<AppenderRef ref="CONSOLE"/>
<AppenderRef ref="ROL_CONSOLE"/>
</Logger>
<!--NOT USED-->
<Logger additivity="false" level="info"
name="com.att.nsa.cambria.client.impl.CambriaSimplerBatchPublisher">
<AppenderRef ref="CONSOLE"/>
<AppenderRef ref="ROL_CONSOLE"/>
</Logger>
<Root additivity="false" level="debug">
<AppenderRef ref="CONSOLE"/>
<AppenderRef ref="ROL_CONSOLE"/>
<AppenderRef ref="EELF_AUDIT"/>
<AppenderRef ref="EELF_DEBUG"/>
<AppenderRef ref="EELF_ERROR"/>
</Root>
</Loggers>
</Configuration>
|