diff mbox

[06/11] libxc: honour XEN_LOG_DIR in xc_dom_core.c

Message ID 1465477062-28805-7-git-send-email-wei.liu2@citrix.com (mailing list archive)
State New, archived
Headers show

Commit Message

Wei Liu June 9, 2016, 12:57 p.m. UTC
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
---
 tools/libxc/xc_dom_core.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Ian Jackson June 9, 2016, 3:48 p.m. UTC | #1
Wei Liu writes ("[PATCH 06/11] libxc: honour XEN_LOG_DIR in xc_dom_core.c"):
> Signed-off-by: Wei Liu <wei.liu2@citrix.com>

Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
diff mbox

Patch

diff --git a/tools/libxc/xc_dom_core.c b/tools/libxc/xc_dom_core.c
index 55c779d..ebada89 100644
--- a/tools/libxc/xc_dom_core.c
+++ b/tools/libxc/xc_dom_core.c
@@ -33,13 +33,14 @@ 
 
 #include "xg_private.h"
 #include "xc_dom.h"
+#include "_paths.h"
 
 /* ------------------------------------------------------------------------ */
 /* debugging                                                                */
 
 
 
-static const char *default_logfile = "/var/log/xen/domain-builder-ng.log";
+static const char *default_logfile = XEN_LOG_DIR "/domain-builder-ng.log";
 
 int xc_dom_loginit(xc_interface *xch) {
     if (xch->dombuild_logger) return 0;