influxdata-docker
influxdata-docker copied to clipboard
Enable entrypoint.sh shell commands debugging
Proposal:
Add ability to debug entrypoint.sh
shell commands in Influxdb container image e.g. by set -x
when log level is set to debug
.
Current behavior:
Currently I have to copy and overwrite init script with my version that contains set -x
Desired behavior:
When I set --log-level=debug
I want to see shell error messages of the commands that were executed.
Alternatives considered:
Add additional environment variable that will enable set -x
, e.g. DOCKER_INIT_DEBUG
or something like that.
Use case:
That would speed up debugging for inexperienced influxdb operators.