ia64/xen-unstable

changeset 7318:90f4f4dc3f62

Added missing global statement, to ensure that the logfilename variable is
updated.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@ewan
date Tue Oct 11 10:33:31 2005 +0100 (2005-10-11)
parents 1a4f8d6ddd19
children e43ffb31de48
files tools/python/xen/xend/XendLogging.py
line diff
     1.1 --- a/tools/python/xen/xend/XendLogging.py	Tue Oct 11 10:32:03 2005 +0100
     1.2 +++ b/tools/python/xen/xend/XendLogging.py	Tue Oct 11 10:33:31 2005 +0100
     1.3 @@ -49,6 +49,8 @@ def init(filename, level=logging.INFO, m
     1.4      stderr unless addLogStderr() is called.
     1.5      """
     1.6  
     1.7 +    global logfilename
     1.8 +
     1.9      def openFileHandler(fname):
    1.10          return logging.handlers.RotatingFileHandler(fname,
    1.11                                                      mode='a',