1
+ # ###############################################################################
2
+ # Licensed to the Apache Software Foundation (ASF) under one
3
+ # or more contributor license agreements. See the NOTICE file
4
+ # distributed with this work for additional information
5
+ # regarding copyright ownership. The ASF licenses this file
6
+ # to you under the Apache License, Version 2.0 (the
7
+ # "License"); you may not use this file except in compliance
8
+ # with the License. You may obtain a copy of the License at
1
9
#
2
- # /*
3
- # * Licensed to the Apache Software Foundation (ASF) under one
4
- # * or more contributor license agreements. See the NOTICE file
5
- # * distributed with this work for additional information
6
- # * regarding copyright ownership. The ASF licenses this file
7
- # * to you under the Apache License, Version 2.0 (the
8
- # * "License"); you may not use this file except in compliance
9
- # * with the License. You may obtain a copy of the License at
10
- # *
11
- # * http://www.apache.org/licenses/LICENSE-2.0
12
- # *
13
- # * Unless required by applicable law or agreed to in writing, software
14
- # * distributed under the License is distributed on an "AS IS" BASIS,
15
- # * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # * See the License for the specific language governing permissions and
17
- # * limitations under the License.
18
- # */
10
+ # http://www.apache.org/licenses/LICENSE-2.0
19
11
#
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ # ###############################################################################
20
18
21
- # Set root logger level to OFF to not flood build logs
22
- # set manually to INFO for debugging purposes
23
- rootLogger.level = OFF
19
+ rootLogger.level = INFO
24
20
rootLogger.appenderRef.out.ref = ConsoleAppender
25
21
26
22
# -----------------------------------------------------------------------------
@@ -42,6 +38,34 @@ appender.file.layout.type = PatternLayout
42
38
appender.file.layout.pattern = %d{HH:mm:ss,SSS} [%20t] %-5p %-60c %x - %m%n
43
39
appender.file.createOnDemand = true
44
40
41
+ # Reduce most flink logs except for connector specific loggers
42
+ logger.flink.name = org.apache.flink
43
+ logger.flink.level = WARN
44
+ logger.flinkconnector.name = org.apache.flink.connector
45
+ logger.flinkconnector.level = INFO
46
+
47
+
45
48
# suppress the irrelevant (wrong) warnings from the netty channel handler
46
49
logger.netty.name = org.jboss.netty.channel.DefaultChannelPipeline
47
50
logger.netty.level = ERROR
51
+
52
+ # Logger configuration for containers, by default this is off
53
+ # If you want to investigate test failures, overwrite the level as above
54
+ logger.container.name = container
55
+ logger.container.level = OFF
56
+ logger.container.additivity = false # This prevents messages from being logged by the root logger
57
+ logger.container.appenderRef.containerappender.ref = ContainerLogger
58
+
59
+ logger.flinkcontainer.name = container.flink
60
+ logger.flinkcontainer.level = WARN
61
+
62
+ logger.flinkenv.name = org.apache.flink.connector.testframe.container.FlinkContainerTestEnvironment
63
+ logger.flinkenv.level = WARN
64
+ logger.flinkenv.additivity = false # This prevents messages from being logged by the root logger
65
+ logger.flinkenv.appenderRef.containerappender.ref = ContainerLogger
66
+
67
+ appender.containerappender.name = ContainerLogger
68
+ appender.containerappender.type = CONSOLE
69
+ appender.containerappender.target = SYSTEM_ERR
70
+ appender.containerappender.layout.type = PatternLayout
71
+ appender.containerappender.layout.pattern = [%c{1}] %m%n
0 commit comments