See:
|
self.logger.info('unexpected error', exc_info=exc) |
API client experienced 500, but we did not see anything in apache2 error log.
Bumping log verbosity to DEBUG we started seeing:
[2026-06-18 10:48:07,241] INFO in site: unexpected error "werkzeug.exceptions.BadRequest: 400 Bad Request: pairing_uuid exceeds maximum length of 45 characters" at /...
Why unexpected errors are logged using INFO? I would expect ERROR level.
See:
flask-jsonrpc/src/flask_jsonrpc/site.py
Line 390 in 453fc3b
API client experienced 500, but we did not see anything in apache2 error log.
Bumping log verbosity to DEBUG we started seeing:
Why unexpected errors are logged using INFO? I would expect ERROR level.