Skip to content

Add max-size, max-file logging options documentation #3243

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

Merged
merged 1 commit into from
May 14, 2017

Conversation

fernviridian
Copy link
Contributor

@fernviridian fernviridian commented May 11, 2017

Proposed changes

Add documentation for logging options max-size and max-file that were previously undocumented. Formatting was checked locally with docker-compose build.

Related issues (optional)

Fixes: #3178

@londoncalling
Copy link
Contributor

@tgjamin thanks! LGTM

Ping, @shin- @dnephin @nathanleclaire @thaJeztah for a second look, then we can merge it.

@londoncalling
Copy link
Contributor

@tgjamin LGTM, I'm going to merge this and make a few minor copyedits after. Thanks much!

@londoncalling londoncalling merged commit 07a105d into docker:master May 14, 2017
@@ -764,6 +764,27 @@ Logging options are key-value pairs. An example of `syslog` options:
options:
syslog-address: "tcp://192.168.0.42:123"

To limit the amount of logs stored there are two options key-value pairs:
Copy link
Member

Choose a reason for hiding this comment

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

We should be careful documenting this as-is, because these options depend on the logging driver that's in use. For example, max-file and max-size are only used for the default (json-file) logging driver.

I do think this information is useful but;

Copy link
Member

Choose a reason for hiding this comment

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

ping @londoncalling ^^

@londoncalling
Copy link
Contributor

@thaJeztah thanks, I'll create another PR with these notes, and maybe you and @tgjamin can review and / or add to it as appropriate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants