Skip to content
This repository
Browse code

merge adding missing changes from previous commit

  • Loading branch information...
commit 768a483953db5ec10b7982741320edbd8628ac65 2 parents c7f8219 + aadf7ff
Pablo Hoffman pablohoffman authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  scrapy/log.py
2  scrapy/log.py
@@ -100,7 +100,7 @@ def _get_log_level(level_name_or_id):
100 100 raise ValueError("Unknown log level: %r" % level_name_or_id)
101 101
102 102 def start(logfile=None, loglevel='INFO', logstdout=True, logencoding='utf-8'):
103   - if log.defaultObserver or True: # check twisted log not already started
  103 + if log.defaultObserver: # check twisted log not already started
104 104 loglevel = _get_log_level(loglevel)
105 105 file = open(logfile, 'a') if logfile else sys.stderr
106 106 sflo = ScrapyFileLogObserver(file, loglevel, logencoding)

0 comments on commit 768a483

Please sign in to comment.
Something went wrong with that request. Please try again.