Scrapy, a fast high-level web crawling & scraping framework for Python.
added cluster master connection log message to cluster worker
Pablo Hoffman21c08e39f873
diff --git a/scrapy/branches/cluster-refactor/scrapy/contrib/pbcluster/worker/manager.py b/scrapy/branches/cluster-refactor/scrapy/contrib/pbcluster/worker/manager.pyindex 7be9f33c2..17b238af0 100644--- a/scrapy/branches/cluster-refactor/scrapy/contrib/pbcluster/worker/manager.py+++ b/scrapy/branches/cluster-refactor/scrapy/contrib/pbcluster/worker/manager.py@@ -135,6 +135,7 @@ class ClusterWorker(pb.Root):def remote_set_master(self, master):"""Set the master for this worker"""+ log.msg("ClusterWorker: ClusterMaster connected from %s:%s" % master.broker.transport.client)self.__master = masterreturn self.status()