From: AustinReichert Date: Tue, 28 Nov 2017 22:50:16 +0000 (-0600) Subject: tools/lxc_ls: remove internal logging X-Git-Tag: lxc-3.0.0.beta1~155^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d36ae708d39ea646a1c5a3fb240d1465d387794e;p=thirdparty%2Flxc.git tools/lxc_ls: remove internal logging Signed-off-by: AustinReichert --- 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);