Created
March 4, 2015 19:01
-
-
Save curita/00ddfbddc28cd6f11934 to your computer and use it in GitHub Desktop.
Output from changing module loggers to their __name__s
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ scrapy git:(python-logging) ✗ scrapy fetch 'https://scrapinghub.com' | |
2015-03-04 15:51:17+0000 [scrapy.utils.log] INFO: Scrapy 0.25.1 started (bot: scrapybot) | |
2015-03-04 15:51:17+0000 [scrapy.utils.log] INFO: Optional features available: ssl, http11 | |
2015-03-04 15:51:17+0000 [scrapy.utils.log] INFO: Overridden settings: {'LOG_FILE': 'name.log'} | |
2015-03-04 15:51:22+0000 [scrapy.middleware] INFO: Enabled extensions: LogStats, TelnetConsole, CloseSpider, CoreStats, SpiderState | |
2015-03-04 15:51:22+0000 [scrapy.middleware] INFO: Enabled downloader middlewares: HttpAuthMiddleware, DownloadTimeoutMiddleware, UserAgentMiddleware, RetryMiddleware, DefaultHeadersMiddleware, MetaRefreshMiddleware, HttpCompressionMiddleware, RedirectMiddleware, CookiesMiddleware, ChunkedTransferMiddleware, DownloaderStats | |
2015-03-04 15:51:22+0000 [scrapy.middleware] INFO: Enabled spider middlewares: HttpErrorMiddleware, OffsiteMiddleware, RefererMiddleware, UrlLengthMiddleware, DepthMiddleware | |
2015-03-04 15:51:22+0000 [scrapy.middleware] INFO: Enabled item pipelines: | |
2015-03-04 15:51:22+0000 [scrapy.core.engine] INFO: Spider opened | |
2015-03-04 15:51:22+0000 [scrapy.contrib.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min) | |
2015-03-04 15:51:22+0000 [scrapy.telnet] DEBUG: Telnet console listening on 127.0.0.1:6023 | |
2015-03-04 15:51:23+0000 [scrapy.contrib.downloadermiddleware.redirect] DEBUG: Redirecting (302) to <GET http://scrapinghub.com/> from <GET http://scrapinghub.com> | |
2015-03-04 15:51:23+0000 [scrapy.core.engine] DEBUG: Crawled (200) <GET http://scrapinghub.com/> (referer: None) | |
2015-03-04 15:51:23+0000 [scrapy.core.engine] INFO: Closing spider (finished) | |
2015-03-04 15:51:23+0000 [scrapy.statscol] INFO: Dumping Scrapy stats: | |
{'downloader/request_bytes': 428, | |
'downloader/request_count': 2, | |
'downloader/request_method_count/GET': 2, | |
'downloader/response_bytes': 6551, | |
'downloader/response_count': 2, | |
'downloader/response_status_count/200': 1, | |
'downloader/response_status_count/302': 1, | |
'finish_reason': 'finished', | |
'finish_time': datetime.datetime(2015, 3, 4, 18, 51, 23, 588974), | |
'log_count/DEBUG': 3, | |
'log_count/INFO': 7, | |
'response_received_count': 1, | |
'scheduler/dequeued': 2, | |
'scheduler/dequeued/memory': 2, | |
'scheduler/enqueued': 2, | |
'scheduler/enqueued/memory': 2, | |
'start_time': datetime.datetime(2015, 3, 4, 18, 51, 22, 321925)} | |
2015-03-04 15:51:23+0000 [scrapy.core.engine] INFO: Spider closed (finished) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment