]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
tools/lxc_ls: remove internal logging
authorAustinReichert <austinskyreichert@utexas.edu>
Tue, 28 Nov 2017 22:50:16 +0000 (16:50 -0600)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sun, 17 Dec 2017 14:37:17 +0000 (15:37 +0100)
Signed-off-by: AustinReichert <austinskyreichert@utexas.edu>
src/lxc/tools/lxc_ls.c

index c8176571ee11357f47f01370e5889bd32f43d6cf..fd236c947cc193a14ca35007750c98a19830119a 100644 (file)
@@ -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
@@ -472,9 +470,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);