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

Introduce logging `JsonLayout`. #13180

Merged
merged 2 commits into from Aug 3, 2017

Conversation

Projects
None yet
2 participants
@azasypkin
Member

azasypkin commented Jul 28, 2017

In this PR we introduce new JsonLayout that can be used by logging appenders to output JSON strings instead of human-readable log messages.

Fixes #12941

Depends and based on #12852

Can be tested with the following config example:

logging.appenders.default:
  kind: console
  layout.kind: json
@kimjoar

LGTM

Show outdated Hide outdated platform/logging/README.md Outdated
Show outdated Hide outdated platform/logging/layouts/JsonLayout.ts Outdated
@azasypkin

This comment has been minimized.

Show comment
Hide comment
@azasypkin

azasypkin Aug 3, 2017

Member

Merging now, we'll be able to tune format later in the scope of #13241.

Member

azasypkin commented Aug 3, 2017

Merging now, we'll be able to tune format later in the scope of #13241.

@azasypkin azasypkin merged commit cb222d7 into elastic:new-platform Aug 3, 2017

1 check passed

CLA Commit author is a member of Elasticsearch
Details

@azasypkin azasypkin deleted the azasypkin:issue-12941-logging-json-output branch Aug 3, 2017

@kimjoar kimjoar added the :Platform label Nov 21, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment