summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-11 02:53:53 -0500
committerJeff Carr <[email protected]>2025-09-11 02:53:53 -0500
commit68f0c43da6507e37c744e1788f0a1861780327ef (patch)
tree64756d98ebfe3da6649bba3fdedd0df120455f93
parent4e941604827ce8d71934dbbbe8d9a973d37ba335 (diff)
quiet output
-rw-r--r--load.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/load.go b/load.go
index 36c1af4..202453d 100644
--- a/load.go
+++ b/load.go
@@ -59,7 +59,9 @@ func ConfigLoad(pb proto.Message, argname string, protoname string) error {
}
}
- log.Infof("ConfigLoad() %s len()=%d\n", fullname, len(data))
+ if os.Getenv("CONFIG_VERBOSE") == "true" {
+ log.Infof("ConfigLoad() %s len()=%d\n", fullname, len(data))
+ }
return nil
}