Skip to content

Commit

Permalink
[FLINK-20510][conf][log4j] Enable monitorInterval by default
Browse files Browse the repository at this point in the history
  • Loading branch information
zentol committed Dec 7, 2020
1 parent 59ae840 commit 1d24f48
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flink-dist/src/main/flink-bin/conf/log4j-cli.properties
Expand Up @@ -16,6 +16,9 @@
# limitations under the License.
################################################################################

# Allows this configuration to be modified at runtime. The file will be checked every 30 seconds.
monitorInterval=30

rootLogger.level = INFO
rootLogger.appenderRef.file.ref = FileAppender

Expand Down
3 changes: 3 additions & 0 deletions flink-dist/src/main/flink-bin/conf/log4j-console.properties
Expand Up @@ -16,6 +16,9 @@
# 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
Expand Down
3 changes: 3 additions & 0 deletions flink-dist/src/main/flink-bin/conf/log4j-session.properties
Expand Up @@ -16,6 +16,9 @@
# limitations under the License.
################################################################################

# Allows this configuration to be modified at runtime. The file will be checked every 30 seconds.
monitorInterval=30

rootLogger.level = INFO
rootLogger.appenderRef.console.ref = ConsoleAppender

Expand Down
3 changes: 3 additions & 0 deletions flink-dist/src/main/flink-bin/conf/log4j.properties
Expand Up @@ -16,6 +16,9 @@
# 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.file.ref = MainAppender
Expand Down

0 comments on commit 1d24f48

Please sign in to comment.