chaos-mesh
chaos-mesh copied to clipboard
[Enhancement] refine logging with Error level
Feature Request
Is your feature request related to a problem? Please describe:
Not kind of a problem;
Describe the feature you'd like:
Do not log the error in the Error level if we already resolved it in other ways or return it; using debug level (L(1).Info()
) instead
Bad example:
https://github.com/chaos-mesh/chaos-mesh/blob/804b9a7e7b2fe3f01e12927a917baac9e53172a8/controllers/common/condition/controller.go#L125-L128
Describe alternatives you've considered:
Teachability, Documentation, Adoption, Migration Strategy:
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 21 days