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 9a89e6e commit f91517f
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 f91517f

Please sign in to comment.