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

[Xen-devel] [PATCH 10/10] libxl: change libxl log stream to ERROR log level



The DEBUG log level is very verbose and can quickly fill a
filesystem hosting /var/log/libvirt/libxl/

Signed-off-by: Jim Fehlig <jfehlig@xxxxxxxx>
---

Ideally, the log level should match what is configured in libvirtd.conf.
Are the logging knob settings available in the drivers?  If not, this
would be a good option for a future /etc/libvirt/libxl.conf.

 src/libxl/libxl_conf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libxl/libxl_conf.c b/src/libxl/libxl_conf.c
index e092b11..34dbfe4 100644
--- a/src/libxl/libxl_conf.c
+++ b/src/libxl/libxl_conf.c
@@ -1350,7 +1350,7 @@ libxlDriverConfigNew(void)
 
     cfg->logger =
         (xentoollog_logger *)xtl_createlogger_stdiostream(cfg->logger_file,
-                                                          XTL_DEBUG, 0);
+                                                          XTL_ERROR, 0);
     if (!cfg->logger) {
         VIR_ERROR(_("cannot create logger for libxenlight, disabling driver"));
         goto error;
-- 
1.8.4.5


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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