Add the error code in the logs #3415
Labels
idea
Needs of discussion to become an enhancement, not ready for implementation
logging
observability
Problem
Currently the logs show errors (on log-level=
error
orwarn
) as:When doing:
But the status code on the log line is not enough to identify the error. Considering that 400 is used for various errors (ref)
Solution
Add the error code next to the status code on the logs:
The text was updated successfully, but these errors were encountered: