Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings on Log. Deprecated Libraries #34

Closed
RenanGBarreto opened this issue Apr 6, 2016 · 0 comments
Closed

Warnings on Log. Deprecated Libraries #34

RenanGBarreto opened this issue Apr 6, 2016 · 0 comments

Comments

@RenanGBarreto
Copy link

Few warning msgs are shown on the output log because the project users deprecated libraries.

Sample:

2016-04-06 07:15:15 [py.warnings] WARNING: c:\python27\lib\site-packages\scrapy_mongodb.py:30: ScrapyDeprecationWarning: Module `scrapy.log` has been deprecated, Scrapy now relies on the builtin Python library for logging. Read the updated logging entry in the documentation to learn more.  from scrapy import log

2016-04-06 07:15:15 [py.warnings] WARNING: c:\python27\lib\site-packages\scrapy_mongodb.py:31: ScrapyDeprecationWarning: Module `scrapy.contrib.exporter` is deprecated, use `scrapy.exporters` instead  from scrapy.contrib.exporter import BaseItemExporter

2016-04-06 07:15:15 [py.warnings] WARNING: c:\python27\lib\site-packages\scrapy_mongodb.py:105: ScrapyDeprecationWarning: log.msg has been deprecated, create a python logger and log through it instead  self.config['collection']))

2016-04-06 07:17:44 [py.warnings] WARNING: c:\python27\lib\site-packages\scrapy_mongodb.py:256: ScrapyDeprecationWarning: log.msg has been deprecated, create a python logger and log through it instead  spider=spider)

This pull request may solve the issue but need to be reviewed: Pull Request 31

sebdah added a commit that referenced this issue Aug 3, 2017
@sebdah sebdah closed this as completed in 84c901b Aug 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant