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 JSON logging config #14

Merged
merged 2 commits into from
Jan 29, 2019

Conversation

danielmitterdorfer
Copy link
Member

Elasticsearch 7.0.0 will switch to a JSON-based layout for logs by
default. With this commit we follow suit.

Relates elastic/elasticsearch#36833

Elasticsearch 7.0.0 will switch to a JSON-based layout for logs by
default. With this commit we follow suit.

Relates elastic/elasticsearch#36833
@danielmitterdorfer
Copy link
Member Author

We will hold back merging this until the respective PR is merged in Elasticsearch.

Copy link
Contributor

@dliappis dliappis left a comment

Choose a reason for hiding this comment

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

@danielmitterdorfer
Copy link
Member Author

Thanks for the review! I'll test it once more when the changes are in Elasticsearch and will merge it then.

Copy link
Contributor

@dliappis dliappis left a comment

Choose a reason for hiding this comment

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

LGTM. I diffed this with the log4j2.properties merged in the ES repo and it is identical apart from the iw / imc logging jinja2 conditional sections.

@danielmitterdorfer
Copy link
Member Author

Thanks for the quick (re-)review! I'll merge this once elastic/rally#637 is in.

@danielmitterdorfer danielmitterdorfer merged commit 799737c into elastic:master Jan 29, 2019
@danielmitterdorfer danielmitterdorfer deleted the json-logging branch January 29, 2019 14:00
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.

2 participants