influxdata-docker icon indicating copy to clipboard operation
influxdata-docker copied to clipboard

Enable entrypoint.sh shell commands debugging

Open danmx opened this issue 3 years ago • 0 comments

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.

danmx avatar Mar 30 '21 19:03 danmx