close
Skip to content

Pass the same log filename to logging plugins on start/stop requests#33583

Merged
thaJeztah merged 1 commit into
moby:masterfrom
naag:33569-logging-plugin-file-inconsistency
Jun 8, 2017
Merged

Pass the same log filename to logging plugins on start/stop requests#33583
thaJeztah merged 1 commit into
moby:masterfrom
naag:33569-logging-plugin-file-inconsistency

Conversation

@naag

@naag naag commented Jun 8, 2017

Copy link
Copy Markdown
Contributor

Signed-off-by: Peter Bücker peter.buecker@gmail.com

- What I did

Provide a solution for #33569.

- How I did it

The /LogDriver.StopLogging request needs additional context (basePath) to provide the correct filename to the logging plugin. This context was added since I found no way to retrieve it from existing data structures at hand.

- How to verify it

Rerun the steps given at #33569.

- Description for the changelog

Pass the same log filename to logging plugins on start/stop requests.

Signed-off-by: Peter Bücker <peter.buecker@gmail.com>

@cpuguy83 cpuguy83 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thaJeztah thaJeztah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thaJeztah thaJeztah merged commit d053bde into moby:master Jun 8, 2017
@thaJeztah

Copy link
Copy Markdown
Member

Thanks @naag ! Congratulations with your first contribution 🎉

@naag

naag commented Jun 8, 2017

Copy link
Copy Markdown
Contributor Author

Thanks @cpuguy83 and @thaJeztah!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants