Skip to content

Commit c205d81

Browse files
committed
dev: lower cr logger priority
1 parent 0ffedaf commit c205d81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/controller/common/worker-log.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424

2525
// LogCR writes a CR into the log
2626
func LogCR(name string, cr api.ICustomResource) {
27-
log.V(1).M(cr).Info(
27+
log.V(2).M(cr).Info(
2828
"logCR %s start--------------------------------------------:\n%s\nlogCR %s end--------------------------------------------",
2929
name,
3030
name,
@@ -34,7 +34,7 @@ func LogCR(name string, cr api.ICustomResource) {
3434

3535
// LogActionPlan logs action plan
3636
func LogActionPlan(ap *action_plan.ActionPlan) {
37-
log.Info(
37+
log.V(1).Info(
3838
"ActionPlan start---------------------------------------------:\n%s\nActionPlan end---------------------------------------------",
3939
ap,
4040
)

0 commit comments

Comments
 (0)