Skip to content

Add JSON logging config#14

Merged
danielmitterdorfer merged 2 commits intoelastic:masterfrom
danielmitterdorfer:json-logging
Jan 29, 2019
Merged

Add JSON logging config#14
danielmitterdorfer merged 2 commits intoelastic:masterfrom
danielmitterdorfer:json-logging

Conversation

@danielmitterdorfer
Copy link
Copy Markdown
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
Copy Markdown
Member Author

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

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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