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

[Docs] Add option to log messages in JSON #4931

Merged
merged 2 commits into from
Sep 11, 2017

Conversation

dedemorton
Copy link
Contributor

Also added the logging namespace to (mostly) match what users see in the config file. There are a few places where we use indentation, but I think it's better to show the full path so there is no ambiguity.

This adds docs for PR #4523

@dedemorton dedemorton added the needs_backport PR is waiting to be backported to other branches. label Aug 17, 2017
==== `files.permissions`
==== `logging.files.permissions`

//REVIEWERS: Noticed that his is not in the beat.reference.yml file. Should it be? Or is the option old?
Copy link
Member

Choose a reason for hiding this comment

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

Yeah, it should be in there too. Can you please add it to config.reference.yml and run make update from the top-level?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@andrewkroh Added. Can you review the changes? Thanks!

@@ -790,5 +790,9 @@ logging.files:
# Number of rotated log files to keep. Oldest files will be deleted first.
#keepfiles: 7

# The permissions mask to apply when rotating log files. The default value is 0600.
Copy link
Member

Choose a reason for hiding this comment

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

This one is different than the others. Perhaps you didn't git add the final version of this file before committing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@andrewkroh Good catch! Weirdness...I committed by using git commit -a -m ... so I don't know how it's possible that the files weren't updated/committed correctly. Ah well...it's fixed now.

Edit description of file permissions
@andrewkroh andrewkroh merged commit c2d7b13 into elastic:master Sep 11, 2017
dedemorton added a commit to dedemorton/beats that referenced this pull request Sep 26, 2017
* [Docs] Add option to log messages in JSON

* Add logging.files.permissions to full reference yml file

Edit description of file permissions
@dedemorton dedemorton removed the needs_backport PR is waiting to be backported to other branches. label Sep 26, 2017
ruflin pushed a commit that referenced this pull request Sep 27, 2017
* [Docs] Add option to log messages in JSON

* Add logging.files.permissions to full reference yml file

Edit description of file permissions
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
* [Docs] Add option to log messages in JSON

* Add logging.files.permissions to full reference yml file

Edit description of file permissions
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.

2 participants