mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Added missing global statement, to ensure that the logfilename variable is
updated. Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
9a60ba6eb8
commit
72e4987ea3
1 file changed
+2
@@ -49,6 +49,8 @@ def init(filename, level=logging.INFO, maxBytes=None, backupCount=None):
|
||||
stderr unless addLogStderr() is called.
|
||||
"""
|
||||
|
||||
global logfilename
|
||||
|
||||
def openFileHandler(fname):
|
||||
return logging.handlers.RotatingFileHandler(fname,
|
||||
mode='a',
|
||||
|
||||