level12 / keg-app-cookiecutter

0 stars 0 forks source link

Simplify local debugging for celery #93

Closed nZac closed 3 years ago

nZac commented 4 years ago

It's a bit frustrating right now when trying to run the Celery workers locally that you have to do two things to see info messages:

1) set the command line option -l info in /scripts/celery-worker 2) comment out add_handler() in app.celery.worker

Make it easier to see messages locally.

rsyring commented 3 years ago

scripts/celery-worker now has KEG_LOG_STREAM_ENABLED=on which results in info log messages going to stdout