Configuring logging in helm chart #2092
-
Hello We've managed to disable Pekko cluster logs and some Ditto distributed data logs. However, there are other messages, like, health status, other distributed data logs etc. As I see in files under So we thought that we can take blacklist approach - set log level to Any help is highly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @dimabarbul The Helm chart is prepared to configure "custom config files" for the Ditto services: ditto/deployment/helm/ditto/values.yaml Lines 155 to 161 in 4d9372b That means that you can simply provide your custom logback XML configfile e.g. via a ConfigMap and mount it into the filesystem of the container. E.g. for things-search: ditto/deployment/helm/ditto/templates/thingssearch-deployment.yaml Lines 147 to 149 in 4d9372b And the mount: ditto/deployment/helm/ditto/templates/thingssearch-deployment.yaml Lines 301 to 305 in 4d9372b And the volume: ditto/deployment/helm/ditto/templates/thingssearch-deployment.yaml Lines 355 to 358 in 4d9372b This is enabled by default and the following template deploys the in the Helm chart bundled logback configfiles as ConfigMaps: Maybe this needs additional Helm customization in order to get other files deployed .. |
Beta Was this translation helpful? Give feedback.
Hi @dimabarbul
The Helm chart is prepared to configure "custom config files" for the Ditto services:
ditto/deployment/helm/ditto/values.yaml
Lines 155 to 161 in 4d9372b
That means that you can simply provide your custom logback XML configfile e.g. via a ConfigMap and …