Skip to content

Commit

Permalink
change debug logging to not emit to normal logs (#5115)
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottSuarez authored Aug 19, 2021
1 parent a000f1c commit 9bce558
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func optionalPrefixSuppress(prefix string) schema.SchemaDiffSuppressFunc {

func ignoreMissingKeyInMap(key string) schema.SchemaDiffSuppressFunc {
return func(k, old, new string, d *schema.ResourceData) bool {
log.Printf("suppressing diff %q with old %q, new %q", k, old, new)
log.Printf("[DEBUG] - suppressing diff %q with old %q, new %q", k, old, new)
if strings.HasSuffix(k, ".%") {
oldNum, err := strconv.Atoi(old)
if err != nil {
Expand Down

0 comments on commit 9bce558

Please sign in to comment.