Signed-off-by: Dan Mick <dan.mick@redhat.com>
const std::string global_key = config_prefix + handle + "." + key;
+ dout(4) << __func__ << "key: " << global_key << dendl;
+
if (config_cache.count(global_key)) {
*val = config_cache.at(global_key);
return true;
std::string value;
bool found = global_handle->get_config(handle, what, &value);
if (found) {
- derr << "Found" << dendl;
+ derr << "ceph_config_get " << what << " found: " << value.c_str() << dendl;
return PyString_FromString(value.c_str());
} else {
- derr << "Not found" << dendl;
+ derr << "ceph_config_get " << what << " not found " << dendl;
Py_RETURN_NONE;
}
}