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

[FEATURE] Enable server log in json format #5389

Open
puchengy opened this issue Oct 31, 2024 · 0 comments · May be fixed by #5388
Open

[FEATURE] Enable server log in json format #5389

puchengy opened this issue Oct 31, 2024 · 0 comments · May be fixed by #5388
Labels
feature New feature or request

Comments

@puchengy
Copy link

Describe the feature

Enable server log in json format.

Motivation

There are use cases required server logs to be viewed from logsearch tools such as Kibana. These use cases recommends log format to be json.

Based on https://logging.apache.org/log4j/2.x/manual/json-template-layout.html, log4j-layout-template-json is needed to enable json layout for log4j.

Describe the solution

Add org.apache.logging.log4j:log4j-layout-template-json to the project so that users can enable json output format.

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
1 participant