AFB_INFO calls for key creation/update/delete for key value pairs is
cluttering up the journal, and also a security risk for possibly leaking
data.
Change-Id: Ifcaf3de5551c66ba4e5813dcaf447d9ca1ef25a1
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
if (get_key(req, &key))
return;
if (get_key(req, &key))
return;
- AFB_INFO("read: key=%s", DATA_STR(key));
+ AFB_DEBUG("read: key=%s", DATA_STR(key));
memset(&data, 0, sizeof data);
data.data = value;
memset(&data, 0, sizeof data);
data.data = value;
if (get_key(req, &key))
return;
if (get_key(req, &key))
return;
- AFB_INFO("put: key=%s, value=%s", DATA_STR(key), DATA_STR(data));
+ AFB_DEBUG("put: key=%s, value=%s", DATA_STR(key), DATA_STR(data));
xdb_put(req, &key, &data, replace);
free(DATA_PTR(key));
}
xdb_put(req, &key, &data, replace);
free(DATA_PTR(key));
}
if (get_key(req, &key))
return;
if (get_key(req, &key))
return;
- AFB_INFO("delete: key=%s", DATA_STR(key));
+ AFB_DEBUG("delete: key=%s", DATA_STR(key));
xdb_delete(req, &key);
free(DATA_PTR(key));
}
xdb_delete(req, &key);
free(DATA_PTR(key));
}
if (get_key(req, &key))
return;
if (get_key(req, &key))
return;
- AFB_INFO("read: key=%s", DATA_STR(key));
+ AFB_DEBUG("read: key=%s", DATA_STR(key));
xdb_get(req, &key);
free(DATA_PTR(key));
}
xdb_get(req, &key);
free(DATA_PTR(key));
}