add: Env var SE_SUPERVISORD_LOG_LEVEL to set supervisord log level #2317
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
User description
Thanks for contributing to the Docker-Selenium project!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines, applied for this repository.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
add: Env var SE_SUPERVISORD_LOG_LEVEL to set supervisord log level
Motivation and Context
Fix: #2301
Based on supervisord log level support http://supervisord.org/logging.html
supervisord.conf file also supports env variable to pass dynamic value for config
Add env var
SE_SUPERVISORD_LOG_LEVEL
(default value isinfo
) to the Base and video recorder images.In helm chart, the env var is set via config key
serverConfigMap.env.SE_SUPERVISORD_LOG_LEVEL
Accept values: critical, error, warn, info, debug, trace, blather
Types of changes
Checklist
PR Type
Enhancement, Configuration changes
Description
SE_SUPERVISORD_LOG_LEVEL
environment variable to Base and Video Dockerfiles with a default value ofinfo
.supervisord.conf
files to use theSE_SUPERVISORD_LOG_LEVEL
environment variable for setting log levels.SE_SUPERVISORD_LOG_LEVEL
to Helm chart values and test configurations.SE_SUPERVISORD_LOG_LEVEL
toerror
in various test configurations.Changes walkthrough 📝
Dockerfile
Add `SE_SUPERVISORD_LOG_LEVEL` environment variable
Base/Dockerfile
SE_SUPERVISORD_LOG_LEVEL
environment variable with default valueinfo
.Dockerfile
Add `SE_SUPERVISORD_LOG_LEVEL` environment variable
Video/Dockerfile
SE_SUPERVISORD_LOG_LEVEL
environment variable with default valueinfo
.supervisord.conf
Use `SE_SUPERVISORD_LOG_LEVEL` in supervisord configuration
Base/supervisord.conf
loglevel
to useSE_SUPERVISORD_LOG_LEVEL
environment variable.username
andpassword
placeholders forunix_http_server
.supervisord.conf
Use `SE_SUPERVISORD_LOG_LEVEL` in supervisord configuration
Video/supervisord.conf
loglevel
to useSE_SUPERVISORD_LOG_LEVEL
environment variable.values.yaml
Add `SE_SUPERVISORD_LOG_LEVEL` to Helm chart values
charts/selenium-grid/values.yaml
SE_SUPERVISORD_LOG_LEVEL
toserverConfigMap
with default valueinfo
.base-auth-ingress-values.yaml
Set `SE_SUPERVISORD_LOG_LEVEL` in test configuration
tests/charts/ci/base-auth-ingress-values.yaml
SE_SUPERVISORD_LOG_LEVEL
toerror
in test configuration.docker-compose-v3-test-parallel.yml
Add `SE_SUPERVISORD_LOG_LEVEL` to docker-compose test configuration
tests/docker-compose-v3-test-parallel.yml
SE_SUPERVISORD_LOG_LEVEL
with valueerror
to multiple services.docker-compose-v3-test-video.yml
Add `SE_SUPERVISORD_LOG_LEVEL` to video test configuration
tests/docker-compose-v3-test-video.yml
SE_SUPERVISORD_LOG_LEVEL
with valueerror
to video service.