[lxc-devel] [lxd/master] main: Fixes debug mode flag to actually enable debug mode
tomponline on Github
lxc-bot at linuxcontainers.org
Thu Jun 20 14:39:23 UTC 2019
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/20190620/55900e12/attachment.bin>
-------------- next part --------------
From 00862c161d03cba6db20eeea94ef2d39fff608a5 Mon Sep 17 00:00:00 2001
From: Thomas Parrott <thomas.parrott at canonical.com>
Date: Thu, 20 Jun 2019 15:38:40 +0100
Subject: [PATCH] main: Fixes debug mode flag to actually enable debug mode
Signed-off-by: Thomas Parrott <thomas.parrott at canonical.com>
---
lxd/main.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lxd/main.go b/lxd/main.go
index 66e25e7455..4fe37a9111 100644
--- a/lxd/main.go
+++ b/lxd/main.go
@@ -36,8 +36,8 @@ type cmdGlobal struct {
func (c *cmdGlobal) Run(cmd *cobra.Command, args []string) error {
// Set logging global variables
- debug = c.flagLogVerbose
- verbose = c.flagLogDebug
+ debug = c.flagLogDebug
+ verbose = c.flagLogVerbose
// Setup logger
syslog := ""
More information about the lxc-devel
mailing list