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
Log Json Formatter - LogMessage type #2952
Comments
I would vote for a stable JSON structure with fields not being reused.
Containing exception:
|
anyone fancy doing a PR? |
Since the requester of the ticket fell unresponsive, we'll close this issue. Feel free to raise a new issue by specifying the expected enhancements to implement in a clearer manner if this feature is not present in the current release of Payara Server 5.x |
fturizo
removed
0:Triaged
Type: Enhancement
Label issue as an enhancement request
labels
Feb 6, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue was closed due to inactivity (my bad) - #2580
Also not sure how re-open the original issue.
Hi there,
I'm currently using Payara v4.1.2.173 with the JSON log formatter (https://payara.gitbooks.io/payara-server/documentation/payara-server/logging/json-formatter.html).
However I have an issue with the JSON generated for the LogMessage field.
https://github.com/payara/Payara/blob/master/nucleus/core/logging/src/main/java/fish/payara/enterprise/server/logging/JSONLogFormatter.java
Depending on the log it will generate not the same type of JSON.
i.e
Normal log message:
Exception log message:
One possible solution would be to add the stacktrace into an other field.
Thanks for your help,
Regards,
Jerome.
The text was updated successfully, but these errors were encountered: