]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: fix wrong log arguments in get_option_value and _get_early_config 68090/head
authorKefu Chai <k.chai@proxmox.com>
Sun, 29 Mar 2026 11:41:08 +0000 (19:41 +0800)
committerKefu Chai <k.chai@proxmox.com>
Sun, 29 Mar 2026 11:50:01 +0000 (19:50 +0800)
commita1a66fa5bc45cb3ed8496e0313cde182dfdd0d47
tree5ca2c8be182174794b76b09f30066ddce40cafd2
parent0e10249fcafeca4c140b27c0c9ee841d8db8bb35
crimson/osd: fix wrong log arguments in get_option_value and _get_early_config

Both log calls referenced option.config_key (the ceph config key name)
where option.option_name (the CLI flag) was intended:

  logger().warn("get_option_value --option_name {} ...", option.config_key);
  logger().info("Configure option_name {} with value : {}", option.config_key, ...);

Fix both to log option.option_name. Also remove the trailing space
before the colon in the info format string.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
src/crimson/osd/main_config_bootstrap_helpers.cc