From 0710a1bfbc4e51f034ad443163e01836a8484399 Mon Sep 17 00:00:00 2001 From: Artem Date: Tue, 14 Jan 2025 18:53:19 +0100 Subject: [PATCH] operator: omit mon db config value log Co-authored-by: Travis Nielsen Signed-off-by: Artem Torubarov (cherry picked from commit db88970641e950c02652d97a36d120e37e99f5a7) --- pkg/operator/ceph/config/monstore.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/operator/ceph/config/monstore.go b/pkg/operator/ceph/config/monstore.go index f6c6aab3a..50c0d2cfc 100644 --- a/pkg/operator/ceph/config/monstore.go +++ b/pkg/operator/ceph/config/monstore.go @@ -93,7 +93,7 @@ func (m *MonStore) SetIfChanged(who, option, value string) (bool, error) { // Set sets a config in the centralized mon configuration database. // https://docs.ceph.com/docs/master/rados/configuration/ceph-conf/#monitor-configuration-database func (m *MonStore) Set(who, option, value string) error { - logger.Infof("setting %q=%q option to the mon configuration database", who, option) + logger.Infof("setting option %q (user %q) to the mon configuration database", option, who) args := []string{"config", "set", who, normalizeKey(option), value} cephCmd := client.NewCephCommand(m.context, m.clusterInfo, args) out, err := cephCmd.RunWithTimeout(exec.CephCommandsTimeout) @@ -102,7 +102,7 @@ func (m *MonStore) Set(who, option, value string) error { "you may need to use the rook-config-override ConfigMap. output: %s", string(out)) } - logger.Infof("successfully set %q=%q option to the mon configuration database", who, option) + logger.Infof("successfully set option %q (user %q) to the mon configuration database", option, who) return nil }