summaryrefslogtreecommitdiffstats
path: root/src/persistence-binding.c
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-04-10 12:15:21 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-04-10 12:25:18 -0700
commitc7f47c00028f824863e54e904dfa950a09a7e6ea (patch)
treee3c534350b683c965cd60fde7957601811a49d38 /src/persistence-binding.c
parentf9661aeff16d60a62cf87cdf930a843c4b17826d (diff)
agl-service-data-persistence: change AFB_INFO calls to AFB_DEBUGhalibut_7.99.1halibut/7.99.17.99.1
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>
Diffstat (limited to 'src/persistence-binding.c')
-rw-r--r--src/persistence-binding.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/persistence-binding.c b/src/persistence-binding.c
index b6ec8d1..def5184 100644
--- a/src/persistence-binding.c
+++ b/src/persistence-binding.c
@@ -130,7 +130,7 @@ static void verb_read(struct afb_req req)
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;
@@ -398,7 +398,7 @@ static void put(struct afb_req req, int replace)
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));
}
@@ -420,7 +420,7 @@ static void verb_delete(struct afb_req req)
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));
}
@@ -432,7 +432,7 @@ static void verb_read(struct afb_req req)
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));
}