[lxc-devel] [lxd/master] shared/log: fix LogDebug()

brauner on Github lxc-bot at linuxcontainers.org
Fri Sep 16 14:18:43 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 367 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160916/d6b94f22/attachment.bin>
-------------- next part --------------
From 3a147bda04e8f5a43ac6a7a83c8925e37bd5e3c9 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at canonical.com>
Date: Fri, 16 Sep 2016 16:17:52 +0200
Subject: [PATCH] shared/log: fix LogDebug()

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

diff --git a/shared/log.go b/shared/log.go
index 4300803..bfaa8f0 100644
--- a/shared/log.go
+++ b/shared/log.go
@@ -31,7 +31,7 @@ func init() {
 // General wrappers around Logger interface functions.
 func LogDebug(msg string, ctx map[string]interface{}) {
 	if Log != nil {
-		Log.Warn(msg, log.Ctx(ctx))
+		Log.Debug(msg, log.Ctx(ctx))
 	}
 }
 


More information about the lxc-devel mailing list