chaos-mesh icon indicating copy to clipboard operation
chaos-mesh copied to clipboard

[Enhancement] refine logging with Error level

Open STRRL opened this issue 2 years ago • 1 comments

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:

STRRL avatar Apr 29 '22 03:04 STRRL

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

github-actions[bot] avatar Jul 29 '22 00:07 github-actions[bot]