Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting log level using PEERTUBE_LOG_LEVEL envvar #4149

Merged

Conversation

johanfleury
Copy link
Contributor

@johanfleury johanfleury commented Jun 1, 2021

Description

Add an environment variable for log.level.

Related issues

I was asked in #4071 to run PeerTube with log level set to debug and figured it was not possible to set it using an environment variable.

Has this been tested?

  • 👍 yes, I added tests to the test suite
  • 👍 yes, light tests as follows are enough
  • 💭 no, because this PR is a draft and still needs work
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

I tested on my own instance by modifying the custom-environment-variables.yaml file and setting LOG_LEVEL=debug.

@Chocobozzz Chocobozzz merged commit 383fea8 into Chocobozzz:develop Jun 2, 2021
@Chocobozzz
Copy link
Owner

Thanks

@johanfleury johanfleury deleted the feature/add-envvar-for-log-level branch July 5, 2021 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants