From: James Dingwall
Unconditionally openlog() since we allow tracesyslog to be changed at runtime.
Modify the trace() call to send messages to vsyslog() when tracesyslog is
enabled.
Note some trace() messages come in several calls before the '\n'. This works
well when the output is a file
on 4.11.3 but I can rebase it to master.
James
___
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
From: James Dingwall
Add a new xenstore control command which allows the tracesyslog boolean to be
changed at run time.
---
tools/xenstore/xenstored_control.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/tools/xenstore/xenstored_control.c
From: James Dingwall
Add a new command line argument -Y / --trace-syslog which toggles the
boolean tracesyslog variable.
---
tools/xenstore/xenstored_core.c | 10 --
tools/xenstore/xenstored_core.h | 1 +
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git
From: James Dingwall
stderr is not available in a xenstore domain. Add a new implementation of
default_xprintf() which sends the message to vsyslog() at LOG_ERROR.
---
tools/xenstore/utils.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/tools/xenstore/utils.c