|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Add support for XENSTORED_TRACE to enable trace output f
# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID 074aadbb0fa8bcf806546c7a7ffd4bb1668686e7
# Parent a4b22c7fbfa10595e530e9b920ddd333485b2baf
Add support for XENSTORED_TRACE to enable trace output from xenstored.
Set XENSTORED_TRACE in /usr/sbin/xenstored's environment to enable the
trace output.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>
diff -r a4b22c7fbfa1 -r 074aadbb0fa8 tools/misc/xend
--- a/tools/misc/xend Wed Aug 17 08:52:04 2005
+++ b/tools/misc/xend Wed Aug 17 09:50:26 2005
@@ -117,11 +117,15 @@
return
def start_xenstored():
- s,o = commands.getstatusoutput("/usr/sbin/xenstored
--pid-file=/var/run/xenstore.pid");
+ XENSTORED_TRACE = os.getenv("XENSTORED_TRACE")
+ cmd = "/usr/sbin/xenstored --pid-file=/var/run/xenstore.pid"
+ if XENSTORED_TRACE:
+ cmd += " -T /var/log/xenstored-trace.log"
+ s,o = commands.getstatusoutput(cmd)
def start_consoled():
if os.fork() == 0:
- os.execvp('/usr/sbin/xenconsoled', ['/usr/sbin/xenconsoled']);
+ os.execvp('/usr/sbin/xenconsoled', ['/usr/sbin/xenconsoled'])
def main():
try:
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Add support for XENSTORED_TRACE to enable trace output from xenstored.,
Xen patchbot -unstable <=
|
|
|
|
|