Skip to content

Configuring logging in helm chart #2092

Answered by thjaeckle
dimabarbul asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @dimabarbul

The Helm chart is prepared to configure "custom config files" for the Ditto services:

# customConfigFile configures that a custom "Logback" config file should be used instead of the one bundled
# with Ditto on the classpath
customConfigFile:
# enabled if enabled, a custom logback.xml file added to the Ditto containers will be used for logging configuration
enabled: true
# fileName passed as Java system property "-Dlogback.configurationFile"
fileName: logback.xml

That means that you can simply provide your custom logback XML configfile e.g. via a ConfigMap and …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@dimabarbul
Comment options

@thjaeckle
Comment options

@dimabarbul
Comment options

@thjaeckle
Comment options

Answer selected by dimabarbul
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants