Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Suggesting to update the cdap dockerfile to permit the setting of the "--enable-debug" flag on the entrypoint though environment variable or other means
Release Notes
Created a Docker-specific ENTRYPOINT script to easily support arguments.
What do we lose by by enabling debug by default? Is it just basically way more space consumed by logs? No expected performance hit as a result, right? (I would not think so).
Chris Gianelloni February 20, 2015 at 11:37 PM
We can enable it, period.... Otherwise, we need to create an entrypoint script to use as a wrapper, and change the ENTRYPOINT to be this wrapper, and let the wrapper handle the logging. This would allow someone to "docker run caskdata/cdap-standalone --enable-debug" and the arguments are passed to the wrapper to be interpreted.
This is probably the way to go, long run. My question is should be just --enable-debug in the short term? Environment, etc. won't work in this case, as nothing makes it from the host environment into the container environment.
Fixed
Pinned fields
Click on the next to a field label to start pinning.
Suggesting to update the cdap dockerfile to permit the setting of the "--enable-debug" flag on the entrypoint though environment variable or other means