Opened 8 years ago

Closed 15 months 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.

Subtickets

Change History (2)

comment:1 Changed 8 years ago by ayleph

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 Changed 15 months ago by Ben Sturmfels

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.