Skip to content

LOG_LEVEL = logging.DEBUG if DEBUG else logging.INFO #31469

Closed Answered by dosubot bot
devysh1907 asked this question in Q&A / Help
Discussion options

You must be logged in to vote

To enable the LOG_LEVEL for debugging using the Helm chart, you can set the DEBUG environment variable to true. This can be done by specifying it in the extraEnv section of your values.yaml file. Here's how you can configure it:

extraEnv:
  DEBUG: "true"

This will set the LOG_LEVEL to logging.DEBUG as per your configuration logic. Make sure to apply the changes by upgrading your Helm release with the updated values.yaml file.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by devysh1907
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant