Recoverable error should be logged at WARN level
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Undecided
|
Lin Hua Cheng |
Bug Description
In the error handling of horizon, recoverable error is logged at ERROR LEVEL.
if issubclass(
wrap = True
if not force_silence and not handled and (not ignore or force_log):
if not ignore and not handled:
if redirect:
raise Http302(redirect)
if not escalate:
return RecoverableError # return to normal code flow
Recoverable exceptions are typically application exception or validation error that the user can fix.
Logging recoverable error as ERROR in the log might cause false alarm if there are log file monitoring is in place that looks for ERRORs.
summary: |
- Recoverable error should be logged at ERROR level + Recoverable error should be logged at WARN level |
Changed in horizon: | |
milestone: | none → grizzly-3 |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | grizzly-3 → 2013.1 |
Fix proposed to branch: master /review. openstack. org/20674
Review: https:/