[lxc-devel] [lxd/master] checkfeature: dial logging down from to debug

brauner on Github lxc-bot at linuxcontainers.org
Tue Oct 9 10:09:59 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 364 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20181009/33abf250/attachment.bin>
-------------- next part --------------
From 8b7d60c0e44fd0539e059fff9d3ffd9881582176 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at ubuntu.com>
Date: Tue, 9 Oct 2018 12:06:53 +0200
Subject: [PATCH] checkfeature: dial logging down from to debug

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
---
 lxd/main_checkfeature.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lxd/main_checkfeature.go b/lxd/main_checkfeature.go
index b6ca975e4c..6380294a76 100644
--- a/lxd/main_checkfeature.go
+++ b/lxd/main_checkfeature.go
@@ -152,7 +152,7 @@ import "C"
 
 func CanUseNetnsGetifaddrs() bool {
 	if !bool(C.is_empty_string(&C.errbuf[0])) {
-		logger.Errorf("%s", C.GoString(&C.errbuf[0]))
+		logger.Debugf("%s", C.GoString(&C.errbuf[0]))
 	}
 
 	return bool(C.netnsid_aware)


More information about the lxc-devel mailing list