[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.1-testing] xend, xenapi: Strip characters from logs that XMLRPC layer cannot
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1196958548 0 # Node ID 930b728b07ffe35ff488305caf087e9a48424572 # Parent ed0b98cf3a590ffa9b2db458d6215a1969e623e9 xend, xenapi: Strip characters from logs that XMLRPC layer cannot handle. From: Ian Jackson <ian.jackson@xxxxxxxxxx> Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> xen-unstable changeset: 16382:79d050b2b35e472c0874443ceccf31cd65103571 xen-unstable date: Fri Nov 16 14:45:35 2007 +0000 --- tools/python/xen/xend/XendAPI.py | 2 ++ 1 files changed, 2 insertions(+) diff -r ed0b98cf3a59 -r 930b728b07ff tools/python/xen/xend/XendAPI.py --- a/tools/python/xen/xend/XendAPI.py Thu Dec 06 16:28:37 2007 +0000 +++ b/tools/python/xen/xend/XendAPI.py Thu Dec 06 16:29:08 2007 +0000 @@ -988,6 +988,8 @@ class XendAPI(object): def host_get_log(self, session, host_ref): log_file = open(XendLogging.getLogFilename()) log_buffer = log_file.read() + log_buffer = log_buffer.replace('\b', ' ') + log_buffer = log_buffer.replace('\f', '\n') return xen_api_success(log_buffer) def host_send_debug_keys(self, _, host_ref, keys): _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |