From d36ae708d39ea646a1c5a3fb240d1465d387794e Mon Sep 17 00:00:00 2001 From: AustinReichert Date: Tue, 28 Nov 2017 16:50:16 -0600 Subject: [PATCH] tools/lxc_ls: remove internal logging Signed-off-by: AustinReichert --- src/lxc/tools/lxc_ls.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lxc/tools/lxc_ls.c b/src/lxc/tools/lxc_ls.c index 77493e959..c7f25cbfe 100644 --- a/src/lxc/tools/lxc_ls.c +++ b/src/lxc/tools/lxc_ls.c @@ -41,8 +41,6 @@ #include "lxc.h" #include "utils.h" -lxc_log_define(lxc_ls, lxc); - /* Per default we only allow five levels of recursion to protect the stack at * least a little bit. */ #define MAX_NESTLVL 5 @@ -475,9 +473,9 @@ static int ls_get(struct ls **m, size_t *size, const struct lxc_arguments *args, if (tmp) { unsigned int astart = 0; if (lxc_safe_uint(tmp, &astart) < 0) - WARN("Could not parse value for 'lxc.start.auto'."); + printf("Could not parse value for 'lxc.start.auto'.\n"); if (astart > 1) - DEBUG("Wrong value for 'lxc.start.auto = %d'.", astart); + printf("Wrong value for 'lxc.start.auto = %d'.\n", astart); l->autostart = astart == 1 ? true : false; } free(tmp); -- 2.47.2