You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logging status info with JSON format instead of Stringified JSON
eg. logger.error("ValidationError:" + status.toString());
status.toString() is pure JSON, but with prefix ValidationError, it cannot be recognized by logging framework.
The text was updated successfully, but these errors were encountered:
For some users, they are using the JSON appenders so that the logs can be injected into Splunk. Mixing string and JSON in the same logging statement will cause issues for those appenders. Thank you @BalloonWen for your help.
logging status info with JSON format instead of Stringified JSON
eg. logger.error("ValidationError:" + status.toString());
status.toString() is pure JSON, but with prefix ValidationError, it cannot be recognized by logging framework.
The text was updated successfully, but these errors were encountered: