Skip to content

Commit

Permalink
chore: reduce logging verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
moshloop committed Dec 21, 2023
1 parent 7c5d2cb commit ab995aa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/topology/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,10 @@ func lookupProperty(ctx *ComponentContext, property *v1.Property) ([]byte, error

if property.Lookup != nil {
results, err := lookup(ctx, property.Name, *property.Lookup)
lp, _ := json.Marshal(property.Lookup)
logger.Infof("Results of %v are %v", string(lp), results)
if ctx.IsTraceEnabled() {
lp, _ := json.Marshal(property.Lookup)
logger.Tracef("Results of %v are %v", string(lp), results)
}
if err != nil {
return nil, err
}
Expand Down

0 comments on commit ab995aa

Please sign in to comment.