mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
Fix log rotation which was inadvertently broken by changeset 11129:939f75570a15.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
b8f69c1f51
commit
2d14977023
1 file changed
+1
-1
@@ -57,7 +57,7 @@ class XendRotatingFileHandler(logging.handlers.RotatingFileHandler):
|
||||
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,
|
||||
|
||||