scrapy/scrapy — pull request #773 by kyzi007 (2014-07-01 08:57:19+00:00)
Title: add signal name

From debug or mass subscription

def event_handler(self, **kwargs):
event_name = kwargs.get('signal').name
self.log(event_name)

if(event_name == "engine_started"):
...

crawler.signals.connect(event_handler)