Skip to content

Commit 6287cbf

Browse files
committed
Update logging
1 parent 8dfe6ad commit 6287cbf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmd/postgres-operator/main.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,9 @@ func main() {
137137

138138
ctx = feature.NewContext(ctx, features)
139139
// This logs just the feature gates as set by the user
140-
log.Info("feature gates enabled during deployment", "PGO_FEATURE_GATES", feature.ShowAssigned(ctx))
140+
log.Info("feature gates set during deployment", "PGO_FEATURE_GATES", feature.ShowAssigned(ctx))
141+
// This logs the feature gates that are enabled, including gates that are on by default
142+
log.Info(fmt.Sprintf("feature gates enabled: %s", feature.ShowEnabled(ctx)))
141143

142144
cfg, err := runtime.GetConfig()
143145
assertNoError(err)

0 commit comments

Comments
 (0)