-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ce00e76
commit 82c48b3
Showing
2 changed files
with
68 additions
and
2 deletions.
There are no files selected for viewing
68 changes: 68 additions & 0 deletions
68
e2e_test/docker-compose-env/flink/conf/log4j-console.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
################################################################################ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
################################################################################ | ||
|
||
# Allows this configuration to be modified at runtime. The file will be checked every 30 seconds. | ||
monitorInterval=30 | ||
|
||
# This affects logging for both user code and Flink | ||
rootLogger.level = INFO | ||
rootLogger.appenderRef.console.ref = ConsoleAppender | ||
rootLogger.appenderRef.rolling.ref = RollingFileAppender | ||
|
||
# Uncomment this if you want to _only_ change Flink's logging | ||
#logger.flink.name = org.apache.flink | ||
#logger.flink.level = INFO | ||
|
||
# The following lines keep the log level of common libraries/connectors on | ||
# log level INFO. The root logger does not override this. You have to manually | ||
# change the log levels here. | ||
logger.akka.name = akka | ||
logger.akka.level = INFO | ||
logger.kafka.name= org.apache.kafka | ||
logger.kafka.level = INFO | ||
logger.hadoop.name = org.apache.hadoop | ||
logger.hadoop.level = INFO | ||
logger.zookeeper.name = org.apache.zookeeper | ||
logger.zookeeper.level = INFO | ||
logger.shaded_zookeeper.name = org.apache.flink.shaded.zookeeper3 | ||
logger.shaded_zookeeper.level = INFO | ||
|
||
# Log all infos to the console | ||
appender.console.name = ConsoleAppender | ||
appender.console.type = CONSOLE | ||
appender.console.layout.type = PatternLayout | ||
appender.console.layout.pattern = %d{yyyy-MM-dd HH:mm:ss,SSS} %-5p %-60c %x - %m%n | ||
|
||
# Log all infos in the given rolling file | ||
appender.rolling.name = RollingFileAppender | ||
appender.rolling.type = RollingFile | ||
appender.rolling.append = true | ||
appender.rolling.fileName = ${sys:log.file} | ||
appender.rolling.filePattern = ${sys:log.file}.%i | ||
appender.rolling.layout.type = PatternLayout | ||
appender.rolling.layout.pattern = %d{yyyy-MM-dd HH:mm:ss,SSS} %-5p %-60c %x - %m%n | ||
appender.rolling.policies.type = Policies | ||
appender.rolling.policies.size.type = SizeBasedTriggeringPolicy | ||
appender.rolling.policies.size.size=100MB | ||
appender.rolling.policies.startup.type = OnStartupTriggeringPolicy | ||
appender.rolling.strategy.type = DefaultRolloverStrategy | ||
appender.rolling.strategy.max = ${env:MAX_LOG_FILE_NUMBER:-10} | ||
|
||
# Suppress the irrelevant (wrong) warnings from the Netty channel handler | ||
logger.netty.name = org.jboss.netty.channel.DefaultChannelPipeline | ||
logger.netty.level = OFF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters