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:
emellor@ewan committed 2005-10-11 10:33:31 +01:00
1 parent 9a60ba6eb8
commit 72e4987ea3
1 file changed
+2
+2
View File
@@ -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',
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.