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 2 commits into from Aug 3, 2017


None yet
2 participants

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:

  kind: console
  layout.kind: json


Show outdated Hide outdated platform/logging/ Outdated
Show outdated Hide outdated platform/logging/layouts/JsonLayout.ts Outdated

This comment has been minimized.

Show comment
Hide comment

azasypkin Aug 3, 2017


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


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

@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