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

Add descriptions to out_file plugin parameters #701

Merged
merged 3 commits into from
Nov 13, 2015

Conversation

cosmo0920
Copy link
Contributor

I tried to add descriptions in out_file plugin.

Related to #584.

config_param :append, :bool, :default => false
desc "Compress chunks with specified compression algorithm."
Copy link
Member

Choose a reason for hiding this comment

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

Should be

Compress flushed file

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Document says "Compresses flushed files using gzip.".

Should I use this one or your suggestion?

Copy link
Member

Choose a reason for hiding this comment

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

No. For this, docs should be fixed (not always gzip)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm..., OK I'll fix this line with your suggestion.

Copy link
Member

Choose a reason for hiding this comment

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

Ah, let me write more descriptive.

Currently, out_file supports only gzip, so Compresses flushed files using gzip is not wrong, but I think

Compress flushed file with specified compression algorithm.

is fine. In addition, documents should list what algorithms can be specified.

@sonots
Copy link
Member

sonots commented Nov 10, 2015

Could you use same words with doc? http://docs.fluentd.org/articles/out_file

repeatedly added a commit that referenced this pull request Nov 13, 2015
Add descriptions to out_file plugin parameters
@repeatedly repeatedly merged commit 30e2982 into fluent:master Nov 13, 2015
@cosmo0920 cosmo0920 deleted the add-descriptions-out_file branch November 20, 2015 17:30
repeatedly added a commit that referenced this pull request Dec 8, 2015
Add descriptions to out_file plugin parameters
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.

3 participants