Opened 9 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 ayleph, 9 years ago

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.

setup_logging.connect(setup_logging_from_paste_ini)

comment:2 by Ben Sturmfels, 3 years ago

Resolution: no-action-required
Status: newclosed

Closing this. Our current deployment docs advise people to use systemd logging and journalctl for viewing.

Note: See TracTickets for help on using tickets.