Skip to content

Commit 98b11d7

Browse files
authored
MINOR: Add missing log4j2.yaml file for some modules (#20821)
Add missing log4j2.yaml file for some modules. Reviewers: Ken Huang <s7133700@gmail.com>, Chia-Ping Tsai <chia7712@gmail.com>
1 parent 5dd0153 commit 98b11d7

File tree

8 files changed

+292
-0
lines changed

8 files changed

+292
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
Configuration:
17+
Properties:
18+
Property:
19+
- name: "logPattern"
20+
value: "[%d] %p %m (%c:%L)%n"
21+
22+
Appenders:
23+
Console:
24+
name: STDOUT
25+
PatternLayout:
26+
pattern: "${logPattern}"
27+
28+
Loggers:
29+
Root:
30+
level: WARN
31+
AppenderRef:
32+
- ref: STDOUT
33+
Logger:
34+
- name: org.apache.kafka
35+
level: WARN
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
Configuration:
17+
Properties:
18+
Property:
19+
- name: "logPattern"
20+
value: "[%d] %p %m (%c:%L)%n"
21+
22+
Appenders:
23+
Console:
24+
name: STDOUT
25+
PatternLayout:
26+
pattern: "${logPattern}"
27+
28+
Loggers:
29+
Root:
30+
level: WARN
31+
AppenderRef:
32+
- ref: STDOUT
33+
Logger:
34+
- name: org.apache.kafka
35+
level: WARN
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
Configuration:
17+
Properties:
18+
Property:
19+
- name: "logPattern"
20+
value: "[%d] %p %m (%c:%L)%n"
21+
22+
Appenders:
23+
Console:
24+
name: STDOUT
25+
PatternLayout:
26+
pattern: "${logPattern}"
27+
28+
Loggers:
29+
Root:
30+
level: WARN
31+
AppenderRef:
32+
- ref: STDOUT
33+
Logger:
34+
- name: org.apache.kafka
35+
level: WARN
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
Configuration:
17+
Properties:
18+
Property:
19+
- name: "logPattern"
20+
value: "[%d] %p %m (%c:%L)%n"
21+
22+
Appenders:
23+
Console:
24+
name: STDOUT
25+
PatternLayout:
26+
pattern: "${logPattern}"
27+
28+
Loggers:
29+
Root:
30+
level: OFF
31+
AppenderRef:
32+
- ref: STDOUT
33+
Logger:
34+
- name: kafka
35+
level: WARN
36+
37+
- name: org.apache.kafka
38+
level: WARN
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
Configuration:
17+
Properties:
18+
Property:
19+
- name: "logPattern"
20+
value: "[%d] %p %m (%c:%L)%n"
21+
22+
Appenders:
23+
Console:
24+
name: STDOUT
25+
PatternLayout:
26+
pattern: "${logPattern}"
27+
28+
Loggers:
29+
Root:
30+
level: OFF
31+
AppenderRef:
32+
- ref: STDOUT
33+
Logger:
34+
- name: kafka
35+
level: WARN
36+
37+
- name: org.apache.kafka
38+
level: WARN
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
Configuration:
17+
Properties:
18+
Property:
19+
- name: "logPattern"
20+
value: "[%d] %p %m (%c:%L)%n"
21+
22+
Appenders:
23+
Console:
24+
name: STDOUT
25+
PatternLayout:
26+
pattern: "${logPattern}"
27+
28+
Loggers:
29+
Root:
30+
level: OFF
31+
AppenderRef:
32+
- ref: STDOUT
33+
Logger:
34+
- name: kafka
35+
level: WARN
36+
37+
- name: org.apache.kafka
38+
level: WARN
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
Configuration:
17+
Properties:
18+
Property:
19+
- name: "logPattern"
20+
value: "[%d] %p %m (%c:%L)%n"
21+
22+
Appenders:
23+
Console:
24+
name: STDOUT
25+
PatternLayout:
26+
pattern: "${logPattern}"
27+
28+
Loggers:
29+
Root:
30+
level: OFF
31+
AppenderRef:
32+
- ref: STDOUT
33+
Logger:
34+
- name: kafka
35+
level: WARN
36+
37+
- name: org.apache.kafka
38+
level: WARN
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
Configuration:
17+
Properties:
18+
Property:
19+
- name: "logPattern"
20+
value: "[%d] %p %m (%c:%L)%n"
21+
22+
Appenders:
23+
Console:
24+
name: STDOUT
25+
PatternLayout:
26+
pattern: "${logPattern}"
27+
28+
Loggers:
29+
Root:
30+
level: WARN
31+
AppenderRef:
32+
- ref: STDOUT
33+
Logger:
34+
- name: org.apache.kafka
35+
level: WARN

0 commit comments

Comments
 (0)