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

[Xen-changelog] [xen-unstable] Fix log rotation which was inadvertently broken by changeset 11129:939f75570a15.



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 5233c4b076b9aa073eff63508461b7bfa597737c
# Parent  c757ebffd500f16574751865853b5934fba23d61
Fix log rotation which was inadvertently broken by changeset 11129:939f75570a15.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendLogging.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r c757ebffd500 -r 5233c4b076b9 tools/python/xen/xend/XendLogging.py
--- a/tools/python/xen/xend/XendLogging.py      Wed Aug 16 16:01:00 2006 +0100
+++ b/tools/python/xen/xend/XendLogging.py      Wed Aug 16 16:06:32 2006 +0100
@@ -57,7 +57,7 @@ class XendRotatingFileHandler(logging.ha
         self.setCloseOnExec()
 
     def doRollover(self):
-        logging.handlers.RotatingFileHandler.doRollover()
+        logging.handlers.RotatingFileHandler.doRollover(self)
         self.setCloseOnExec()
 
     # NB yes accessing 'self.stream' violates OO encapsulation somewhat,

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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