Opened 8 years ago
Closed 2 years ago
#1075 closed defect (no-action)
Separate celery ignores logging
|Reported by:||ayleph||Owned by:|
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 , 8 years ago
comment:2 by , 2 years ago
|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.