Opened 10 years ago
Closed 3 years ago
#1075 closed defect (no-action)
Separate celery ignores logging
Reported by: | ayleph | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | infrastructure | Keywords: | celery, log |
Cc: | Parent Tickets: |
Description
I use a systemd init script to start celeryd. In that init script, I specify a log file with the --logfile option. The logfile option is ignored when from_celery sets up logging.
Change History (2)
comment:1 by , 10 years ago
comment:2 by , 3 years ago
Resolution: | → no-action-required |
---|---|
Status: | new → closed |
Closing this. Our current deployment docs advise people to use systemd logging and journalctl for viewing.
As a workaround, I've commented out the below line in
mediagoblin/mediagoblin/init/celery/from_celery.py
. After doing this, celery now logs to the location specified by the --logfile option in my init script.