[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 7/9] golang/xenlight: Default loglevel to DEBUG until we get everything working


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: George Dunlap <george.dunlap@xxxxxxxxxx>
  • Date: Fri, 27 Dec 2019 16:32:22 +0000
  • Authentication-results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=george.dunlap@xxxxxxxxxx; spf=Pass smtp.mailfrom=George.Dunlap@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
  • Cc: Nick Rosbrook <rosbrookn@xxxxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>
  • Delivery-date: Fri, 27 Dec 2019 16:33:04 +0000
  • Ironport-sdr: lFqdGYZRAkWx2v2MYHXHE5zWQZx9wjcwHgKU17dShv9N2UhcBOuw77MXTusC18FzaePFgQMIDQ ZkJHJZofRZ2drx9L0f49c4R6PoZNT6STiFx1lQbIb2DTVP9xuv/YqA9Uqa4vWDnEgaTRrOw1Fc BGBxW+8qL7V5rtlDzgQ6i+DrFcrnARXyGxV7Tg4+vSPp9eHbNam1/0M9bidkfkPQquTREWbi1s EhpBWyrFCuV4vJnoJKxAspU97OLKZ7Ktjhu2TUfwhX95hKUdOMPxS3ugozAyNhwkkzHXxkDKzp /Xo=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxx>
---

The other option would be to expose the XTL logging levels and let the
caller set them somehow.

CC: Nick Rosbrook <rosbrookn@xxxxxxxxxxxx>
---
 tools/golang/xenlight/xenlight.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/golang/xenlight/xenlight.go 
b/tools/golang/xenlight/xenlight.go
index c80f622e6b..e115592257 100644
--- a/tools/golang/xenlight/xenlight.go
+++ b/tools/golang/xenlight/xenlight.go
@@ -85,7 +85,7 @@ type Context struct {
 func NewContext() (*Context, error) {
        var ctx Context
 
-       ctx.logger = C.xtl_createlogger_stdiostream(C.stderr, C.XTL_ERROR, 0)
+       ctx.logger = C.xtl_createlogger_stdiostream(C.stderr, C.XTL_DEBUG, 0)
 
        ret := C.libxl_ctx_alloc(&ctx.ctx, C.LIBXL_VERSION, 0,
                (*C.xentoollog_logger)(unsafe.Pointer(ctx.logger)))
-- 
2.24.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.