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

Log more information when verbose=true #917

Closed
kennymacleod opened this issue Dec 29, 2017 · 0 comments · Fixed by #1192
Closed

Log more information when verbose=true #917

kennymacleod opened this issue Dec 29, 2017 · 0 comments · Fixed by #1192

Comments

@kennymacleod
Copy link

I'd like to see the plugin logging more information when the verbose=true option is set.

Setting the -X maven flag is not practical, given that this generates insane amounts of junk from the HTTP client (see #868).

Currently, setting that flag only seems to generate some extra logging related to image building, but it would be great if we also saw logging around the commands issued to the docker daemon.

For example, in DockerAccessWithHcClient#createContainer the code currently logs the JSON that gets sent to the /container/create endpoint, but this is logged at debug level (and for the reasons mentioned above, getting -X debug out isn't an option). This would be a perfect candidate for verbose logging.

kennymacleod added a commit to kennymacleod/docker-maven-plugin that referenced this issue Dec 29, 2017
kennymacleod added a commit to kennymacleod/docker-maven-plugin that referenced this issue Dec 29, 2017
…PUT/DELETE to docker

Signed-off-by: Kenny MacLeod <kmacleod@atlassian.com>
rohanKanojia pushed a commit to rohanKanojia/docker-maven-plugin that referenced this issue Apr 7, 2019
…PUT/DELETE to docker

Signed-off-by: Kenny MacLeod <kmacleod@atlassian.com>
rohanKanojia pushed a commit to rohanKanojia/docker-maven-plugin that referenced this issue Apr 7, 2019
…PUT/DELETE to docker

Signed-off-by: Kenny MacLeod <kmacleod@atlassian.com>
rhuss pushed a commit that referenced this issue Apr 21, 2019
… levels (#1192)

* #917 additional verbose-level logging whenever we do a POST/PUT/DELETE to docker

Signed-off-by: Kenny MacLeod <kmacleod@atlassian.com>

* Change docker.verbose parameter to String to handle multiple logging levels

* chore(logging): Update verbosity logging groups

+ added documentations
+ added tests
+ added group "all"
rohanKanojia added a commit to rohanKanojia/kubernetes-maven-plugin that referenced this issue Jun 18, 2019
rohanKanojia added a commit to rohanKanojia/openshift-maven-plugin that referenced this issue Jun 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant