[lxc-devel] [lxc/master] tools/lxc_autostart: remove internal logging

AustinReichert on Github lxc-bot at linuxcontainers.org
Tue Nov 28 07:17:28 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 361 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20171128/795fa289/attachment.bin>
-------------- next part --------------
From 5f514ceea69c77c33afd36dcbbbdcff6c53bb197 Mon Sep 17 00:00:00 2001
From: AustinReichert <austinskyreichert at utexas.edu>
Date: Tue, 28 Nov 2017 01:12:18 -0600
Subject: [PATCH] tools/lxc_autostart: remove internal logging

Signed-off-by: AustinReichert <austinskyreichert at utexas.edu>
---
 src/lxc/tools/lxc_autostart.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/lxc/tools/lxc_autostart.c b/src/lxc/tools/lxc_autostart.c
index 69798806b..48727b9f1 100644
--- a/src/lxc/tools/lxc_autostart.c
+++ b/src/lxc/tools/lxc_autostart.c
@@ -28,7 +28,6 @@
 #include "log.h"
 #include "utils.h"
 
-lxc_log_define(lxc_autostart_ui, lxc);
 static struct lxc_list *accumulate_list(char *input, char *delimiter, struct lxc_list *str_list);
 
 struct lxc_list *cmd_groups_list = NULL;
@@ -309,7 +308,7 @@ static int get_config_integer(struct lxc_container *c, char *key) {
 	}
 
 	if (lxc_safe_int(value, &ret) < 0)
-		DEBUG("Could not parse config item.");
+		printf("Could not parse config item.\n");
 
 	free(value);
 


More information about the lxc-devel mailing list