You are viewing a plain text version of this content. The canonical link for it is here.
Posted to tashi-commits@incubator.apache.org by st...@apache.org on 2011/10/22 17:43:37 UTC
svn commit: r1187736 - in /incubator/tashi/branches/cmu/src/tashi:
clustermanager/clustermanager.py nodemanager/nodemanager.py
Author: stroucki
Date: Sat Oct 22 17:43:36 2011
New Revision: 1187736
URL: http://svn.apache.org/viewvc?rev=1187736&view=rev
Log:
t.logging is a python Logger object, which does not have a flag "quiet".
I don't know whether the previous version of rpyc was looking for this, but
now it does full annoying logging. Use python Logger methods to shut it up.
Modified:
incubator/tashi/branches/cmu/src/tashi/clustermanager/clustermanager.py
incubator/tashi/branches/cmu/src/tashi/nodemanager/nodemanager.py
Modified: incubator/tashi/branches/cmu/src/tashi/clustermanager/clustermanager.py
URL: http://svn.apache.org/viewvc/incubator/tashi/branches/cmu/src/tashi/clustermanager/clustermanager.py?rev=1187736&r1=1187735&r2=1187736&view=diff
==============================================================================
--- incubator/tashi/branches/cmu/src/tashi/clustermanager/clustermanager.py (original)
+++ incubator/tashi/branches/cmu/src/tashi/clustermanager/clustermanager.py Sat Oct 22 17:43:36 2011
@@ -51,7 +51,7 @@ def startClusterManager(config):
t = ThreadedServer(service=rpycservices.ManagerService, hostname='0.0.0.0', port=int(config.get('ClusterManagerService', 'port')), auto_register=False, authenticator=authenticator)
else:
t = ThreadedServer(service=rpycservices.ManagerService, hostname='0.0.0.0', port=int(config.get('ClusterManagerService', 'port')), auto_register=False)
- t.logger.quiet = True
+ t.logger.setLevel(logging.ERROR)
t.service.service = service
t.service._type = 'ClusterManagerService'
Modified: incubator/tashi/branches/cmu/src/tashi/nodemanager/nodemanager.py
URL: http://svn.apache.org/viewvc/incubator/tashi/branches/cmu/src/tashi/nodemanager/nodemanager.py?rev=1187736&r1=1187735&r2=1187736&view=diff
==============================================================================
--- incubator/tashi/branches/cmu/src/tashi/nodemanager/nodemanager.py (original)
+++ incubator/tashi/branches/cmu/src/tashi/nodemanager/nodemanager.py Sat Oct 22 17:43:36 2011
@@ -55,7 +55,7 @@ def main():
t = ThreadedServer(service=rpycservices.ManagerService, hostname='0.0.0.0', port=int(config.get('NodeManagerService', 'port')), auto_register=False, authenticator=authenticator)
else:
t = ThreadedServer(service=rpycservices.ManagerService, hostname='0.0.0.0', port=int(config.get('NodeManagerService', 'port')), auto_register=False)
- t.logger.quiet = True
+ t.logger.setLevel(logging.ERROR)
t.service.service = service
t.service._type = 'NodeManagerService'