WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Added missing global statement, to ensure that the logfi

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Added missing global statement, to ensure that the logfilename variable is
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 11 Oct 2005 09:46:11 +0000
Delivery-date: Tue, 11 Oct 2005 09:43:46 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User emellor@ewan
# Node ID 90f4f4dc3f62393efc0fa01f11409065cc613c10
# Parent  1a4f8d6ddd1977f76bd30ce4ad5e1b29cfca1af1
Added missing global statement, to ensure that the logfilename variable is
updated.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 1a4f8d6ddd19 -r 90f4f4dc3f62 tools/python/xen/xend/XendLogging.py
--- a/tools/python/xen/xend/XendLogging.py      Tue Oct 11 09:32:03 2005
+++ b/tools/python/xen/xend/XendLogging.py      Tue Oct 11 09:33:31 2005
@@ -49,6 +49,8 @@
     stderr unless addLogStderr() is called.
     """
 
+    global logfilename
+
     def openFileHandler(fname):
         return logging.handlers.RotatingFileHandler(fname,
                                                     mode='a',

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Added missing global statement, to ensure that the logfilename variable is, Xen patchbot -unstable <=