Tracking Issue: Refine Logging
Author: STRRLCreated Jan 6, 2022Updated Aug 7, 2026
Labelstype/enhancement
Refine Logging
As mentioned in https://github.com/chaos-mesh/rfcs/pull/28, we're going to migrate loggers to logr.
TODO List:
- Upgrade controller-runtime to
0.11.0(relates upgrading logr dependency from 0.4 to 1.2) https://github.com/chaos-mesh/chaos-mesh/pull/2778 - bump version of Kubernetes relates dependencies to 1.23.0
- https://github.com/chaos-mesh/chaos-mesh/pull/2754 use go 1.17+ due to
sigs.k8s.io/jsonuse new APIIsExported()https://github.com/golang/go/issues/41563 - bump klog to v2
- refine fx dependency injection, inject the root logger #2808
- change loglevel at runtime
Help wanted:
- #2870
- #2871
- #2872
- #2873
- #2874
- #2875
- #2876
- #2877
- #2878
- #2879
- #2880
- #2881
- #2882
- #2883
- #2884
- #2885
- #2886
- #2887
- #2888
- #2889
- #2890
- #2891
- #2892
- #3031
Source: chaos-mesh/chaos-mesh