diff --git a/website/content/en/preview/faq.md b/website/content/en/preview/faq.md index 0e235969fc7f..3bf10f94f6bf 100644 --- a/website/content/en/preview/faq.md +++ b/website/content/en/preview/faq.md @@ -268,6 +268,10 @@ Consolidation packs pods tightly onto nodes which can leave little free allocata ### How do I customize or configure the log output? -Karpenter uses [uber-go/zap](https://github.com/uber-go/zap) for logging. You can customize or configure the log messages by editing the [configmap-logging.yaml](https://github.com/aws/karpenter/blob/main/charts/karpenter/templates/configmap-logging.yaml) -`ConfigMap`'s [data.zap-logger-config](https://github.com/aws/karpenter/blob/main/charts/karpenter/templates/configmap-logging.yaml#L26) field. -The available configuration options are specified in the [zap.Config godocs](https://pkg.go.dev/go.uber.org/zap#Config). +Karpenter's logging can be customized with the following environment variables: + +* `LOG_LEVEL` +* `LOG_OUTPUT_PATHS` +* `LOG_ERROR_OUTPUT_PATHS`. + +Refer to [Settings]({{}}) for more details. diff --git a/website/content/en/v1.0/faq.md b/website/content/en/v1.0/faq.md index 18c56ab30c98..5d47950e6d57 100644 --- a/website/content/en/v1.0/faq.md +++ b/website/content/en/v1.0/faq.md @@ -268,6 +268,10 @@ Consolidation packs pods tightly onto nodes which can leave little free allocata ### How do I customize or configure the log output? -Karpenter uses [uber-go/zap](https://github.com/uber-go/zap) for logging. You can customize or configure the log messages by editing the [configmap-logging.yaml](https://github.com/aws/karpenter/blob/main/charts/karpenter/templates/configmap-logging.yaml) -`ConfigMap`'s [data.zap-logger-config](https://github.com/aws/karpenter/blob/main/charts/karpenter/templates/configmap-logging.yaml#L26) field. -The available configuration options are specified in the [zap.Config godocs](https://pkg.go.dev/go.uber.org/zap#Config). +Karpenter's logging can be customized with the following environment variables: + +* `LOG_LEVEL` +* `LOG_OUTPUT_PATHS` +* `LOG_ERROR_OUTPUT_PATHS`. + +Refer to [Settings]({{}}) for more details. diff --git a/website/content/en/v1.7/faq.md b/website/content/en/v1.7/faq.md index 7113eb7a496e..956e66e2b528 100644 --- a/website/content/en/v1.7/faq.md +++ b/website/content/en/v1.7/faq.md @@ -268,6 +268,10 @@ Consolidation packs pods tightly onto nodes which can leave little free allocata ### How do I customize or configure the log output? -Karpenter uses [uber-go/zap](https://github.com/uber-go/zap) for logging. You can customize or configure the log messages by editing the [configmap-logging.yaml](https://github.com/aws/karpenter/blob/main/charts/karpenter/templates/configmap-logging.yaml) -`ConfigMap`'s [data.zap-logger-config](https://github.com/aws/karpenter/blob/main/charts/karpenter/templates/configmap-logging.yaml#L26) field. -The available configuration options are specified in the [zap.Config godocs](https://pkg.go.dev/go.uber.org/zap#Config). +Karpenter's logging can be customized with the following environment variables: + +* `LOG_LEVEL` +* `LOG_OUTPUT_PATHS` +* `LOG_ERROR_OUTPUT_PATHS`. + +Refer to [Settings]({{}}) for more details. diff --git a/website/content/en/v1.8/faq.md b/website/content/en/v1.8/faq.md index 8b2c8e59b695..0a94132e319e 100644 --- a/website/content/en/v1.8/faq.md +++ b/website/content/en/v1.8/faq.md @@ -268,6 +268,10 @@ Consolidation packs pods tightly onto nodes which can leave little free allocata ### How do I customize or configure the log output? -Karpenter uses [uber-go/zap](https://github.com/uber-go/zap) for logging. You can customize or configure the log messages by editing the [configmap-logging.yaml](https://github.com/aws/karpenter/blob/main/charts/karpenter/templates/configmap-logging.yaml) -`ConfigMap`'s [data.zap-logger-config](https://github.com/aws/karpenter/blob/main/charts/karpenter/templates/configmap-logging.yaml#L26) field. -The available configuration options are specified in the [zap.Config godocs](https://pkg.go.dev/go.uber.org/zap#Config). +Karpenter's logging can be customized with the following environment variables: + +* `LOG_LEVEL` +* `LOG_OUTPUT_PATHS` +* `LOG_ERROR_OUTPUT_PATHS`. + +Refer to [Settings]({{}}) for more details. diff --git a/website/content/en/v1.9/faq.md b/website/content/en/v1.9/faq.md index 317db1b6e088..1970d5e54aee 100644 --- a/website/content/en/v1.9/faq.md +++ b/website/content/en/v1.9/faq.md @@ -268,6 +268,10 @@ Consolidation packs pods tightly onto nodes which can leave little free allocata ### How do I customize or configure the log output? -Karpenter uses [uber-go/zap](https://github.com/uber-go/zap) for logging. You can customize or configure the log messages by editing the [configmap-logging.yaml](https://github.com/aws/karpenter/blob/main/charts/karpenter/templates/configmap-logging.yaml) -`ConfigMap`'s [data.zap-logger-config](https://github.com/aws/karpenter/blob/main/charts/karpenter/templates/configmap-logging.yaml#L26) field. -The available configuration options are specified in the [zap.Config godocs](https://pkg.go.dev/go.uber.org/zap#Config). +Karpenter's logging can be customized with the following environment variables: + +* `LOG_LEVEL` +* `LOG_OUTPUT_PATHS` +* `LOG_ERROR_OUTPUT_PATHS`. + +Refer to [Settings]({{}}) for more details.