Skip to content

Commit 3063db2

Browse files
committed
Prevent repeated msg about Scrapy started
1 parent 3b1a5f2 commit 3063db2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

sh_scrapy/log.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import logging
2-
import os
32
import sys
43
import warnings
54

@@ -66,12 +65,6 @@ def initialize_logging():
6665
_oldshowwarning = warnings.showwarning
6766
txlog.startLoggingWithObserver(obs.emit, setStdout=False)
6867
warnings.showwarning = _oldshowwarning
69-
70-
# Scrapy specifics
71-
if 'SCRAPY_JOB' in os.environ:
72-
logger = logging.getLogger(__name__)
73-
logger.info("Scrapy %s started" % __version__)
74-
7568
return hdlr
7669

7770

0 commit comments

Comments
 (0)