Opened 5 years ago

Last modified 5 years ago

#1075 new defect

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 (1)

comment:1 Changed 5 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)
Note: See TracTickets for help on using tickets.