incubator-tashi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strou...@apache.org
Subject svn commit: r1297780 - /incubator/tashi/trunk/src/tashi/accounting/accountingservice.py
Date Tue, 06 Mar 2012 22:58:01 GMT
Author: stroucki
Date: Tue Mar  6 22:58:00 2012
New Revision: 1297780

URL: http://svn.apache.org/viewvc?rev=1297780&view=rev
Log:
accountingservice: print info as strings, not numbers. will catch pending vms too.

Modified:
    incubator/tashi/trunk/src/tashi/accounting/accountingservice.py

Modified: incubator/tashi/trunk/src/tashi/accounting/accountingservice.py
URL: http://svn.apache.org/viewvc/incubator/tashi/trunk/src/tashi/accounting/accountingservice.py?rev=1297780&r1=1297779&r2=1297780&view=diff
==============================================================================
--- incubator/tashi/trunk/src/tashi/accounting/accountingservice.py (original)
+++ incubator/tashi/trunk/src/tashi/accounting/accountingservice.py Tue Mar  6 22:58:00 2012
@@ -55,7 +55,7 @@ class AccountingService(object):
 				instances = self.cm.getInstances()
 				for instance in instances:
 					# XXXstroucki this currently duplicates what the CM was doing.
-					self.log.info('Accounting: id %d host %d vmId %d user %d cores %d memory %d' % (instance.id,
instance.hostId, instance.vmId, instance.userId, instance.cores, instance.memory))
+					self.log.info('Accounting: id %s host %s vmId %s user %s cores %s memory %s' % (instance.id,
instance.hostId, instance.vmId, instance.userId, instance.cores, instance.memory))
 			except:
 				self.log.warning("Accounting iteration failed")
 



Mime
View raw message