ironic-inspector/releasenotes/notes/log-info-not-found-cache-error-afbc87e80305ca5c.yaml
Anton Arefiev dab42173c0 Allow specify log level for Error exception
For now, all Error exceptions logged with error level, but some exceptions
may be expected as correct flow and they shouldn't be logged as errors.

NotFoundInCacheError, for example, is raised when there isn't info in cache
about introspected node, this case may be handled by not_found_hook, so
this wouldn't be error anymore.

Change-Id: Ie537ccaef0035b2ef839c34fad0a5e6c9ba8f064
2016-03-10 11:58:40 +02:00

6 lines
216 B
YAML

---
other:
- Log level for error when node was not found in Inspector cache was
changed from error to info level. It was done because not_found_hook
may handle this case, so this wouldn't be error anymore.