Closed georgeJzzz closed 8 months ago
scrapy log
and ayugespidertools slog
are enabled by default in the template, and the output level is ERROR
.
During debugging, you can comment out the following section in settings.py
:
LOG_LEVEL = "ERROR"
LOG_FILE = _ / "logs/$project_name.log"
logger.add(
_ / "logs/error.log",
level="ERROR",
rotation="1 week",
retention="7 days",
enqueue=True,
)
thanks
I set "LOG_FILE": ""
in the custom_settings
.
also achieved the same effect
Question description