Skip to content

Commit 4230250

Browse files
committed
module: print db not empty warn to stdout
Do not use logger. Dump tree uses plain stdout so make this the same (the warning is currently displayed multiple times, for every ancestor in tree and so the logger issues that the message is repeated n-times which gets messed with the plain printfs).
1 parent e9d29cd commit 4230250

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ module_done(struct module *module_data)
186186
}
187187
struct module_priv_state *module_priv = module_data->module_priv;
188188
if (!module_del_ref(module_priv)) {
189-
log_msg(LOG_LEVEL_WARNING, "Warning: Child database not empty! Remaining:\n");
189+
printf(MOD_NAME "Warning: Child database not empty! Remaining:\n");
190190
dump_tree(&module_priv->wrapper, 0);
191191
}
192192
module_data->module_priv = NULL; // to avoid multiple deinit

0 commit comments

Comments
 (0)