Skip to content

Log to stdout #113

@janwendt

Description

@janwendt

I am using scrapyrt in Google App Engine. To save the logs in Google Cloud i need to log to stdout but scrapyrt does not support that see:

scrapyrt/scrapyrt/log.py

Lines 135 to 137 in f8ee7b7

# Looging stdout is a bad idea when mutiple crawls are running
# if settings.getbool('LOG_STDOUT'):
# sys.stdout = StreamLogger(logging.getLogger('stdout'))

Everyone who wants to use scrapyrt in production and wants to deploy it on any kind of cloud platform needs this feature.

I would help creating a PR if desired. Any Ideas @pawelmhm ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions