Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed verbosity level for Redis init & deinit #118

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions cachedb/redis.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ redis_connect(const struct redis_moddata* moddata)
log_err("failed to set redis timeout");
goto fail;
}
verbose(VERB_OPS, "Connection to Redis established");
return ctx;

fail:
Expand All @@ -91,7 +92,7 @@ redis_init(struct module_env* env, struct cachedb_env* cachedb_env)
int i;
struct redis_moddata* moddata = NULL;

verbose(VERB_ALGO, "redis_init");
verbose(VERB_OPS, "Redis initialization");

moddata = calloc(1, sizeof(struct redis_moddata));
if(!moddata) {
Expand Down Expand Up @@ -124,7 +125,7 @@ redis_deinit(struct module_env* env, struct cachedb_env* cachedb_env)
cachedb_env->backend_data;
(void)env;

verbose(VERB_ALGO, "redis_deinit");
verbose(VERB_OPS, "Redis deinitialization");

if(!moddata)
return;
Expand Down