Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/content.zh/docs/operations/helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ To override single parameters you can use `--set`, for example:
```
helm install --set image.repository=apache/flink-kubernetes-operator --set image.tag={{< stable >}}{{< version >}}{{< /stable >}}{{< unstable >}}latest{{< /unstable >}} flink-kubernetes-operator helm/flink-kubernetes-operator
```
Note, you should escape special characters in your `--set` lines, for example:
```
helm install --set defaultConfiguration."log4j-operator\.properties"=rootLogger.level\=DEBUG flink-kubernetes-operator helm/flink-kubernetes-operator
```

You can also provide your custom values file by using the `-f` flag:
```
Expand Down
4 changes: 4 additions & 0 deletions docs/content.zh/docs/operations/metrics-logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,13 @@ defaultConfiguration:
log4j-operator.properties: |+
# Flink Operator Logging Overrides
# rootLogger.level = DEBUG
# The monitor interval in seconds to enable log4j automatic reconfiguration
# monitorInterval = 30
log4j-console.properties: |+
# Flink Deployment Logging Overrides
# rootLogger.level = DEBUG
# The monitor interval in seconds to enable log4j automatic reconfiguration
# monitorInterval = 30
```

{{< hint info >}}
Expand Down
4 changes: 4 additions & 0 deletions docs/content/docs/operations/helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ To override single parameters you can use `--set`, for example:
```
helm install --set image.repository=apache/flink-kubernetes-operator --set image.tag={{< stable >}}{{< version >}}{{< /stable >}}{{< unstable >}}latest{{< /unstable >}} flink-kubernetes-operator helm/flink-kubernetes-operator
```
Note, you should escape special characters in your `--set` lines, for example:
```
helm install --set defaultConfiguration."log4j-operator\.properties"=rootLogger.level\=DEBUG flink-kubernetes-operator helm/flink-kubernetes-operator
```

You can also provide your custom values file by using the `-f` flag:
```
Expand Down
4 changes: 4 additions & 0 deletions docs/content/docs/operations/metrics-logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,13 @@ defaultConfiguration:
log4j-operator.properties: |+
# Flink Operator Logging Overrides
# rootLogger.level = DEBUG
# The monitor interval in seconds to enable log4j automatic reconfiguration
# monitorInterval = 30
log4j-console.properties: |+
# Flink Deployment Logging Overrides
# rootLogger.level = DEBUG
# The monitor interval in seconds to enable log4j automatic reconfiguration
# monitorInterval = 30
```

{{< hint info >}}
Expand Down
3 changes: 3 additions & 0 deletions helm/flink-kubernetes-operator/conf/log4j-console.properties
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,6 @@ appender.rolling.strategy.max = 10
# Suppress the irrelevant (wrong) warnings from the Netty channel handler
logger.netty.name = org.apache.flink.shaded.akka.org.jboss.netty.channel.DefaultChannelPipeline
logger.netty.level = OFF

# The monitor interval in seconds to enable log4j automatic reconfiguration
# monitorInterval = 30
3 changes: 3 additions & 0 deletions helm/flink-kubernetes-operator/conf/log4j-operator.properties
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ logger.conf.level = WARN
# Avoid logging fallback key INFO messages
logger.conf.name = org.apache.flink.configuration.Configuration
logger.conf.level = WARN

# The monitor interval in seconds to enable log4j automatic reconfiguration
# monitorInterval = 30
Loading