Project

Profile

Help

Task #2275

Updated by bmbouter about 8 years ago

In The 2.y line Celery uses a signal to install the logging handler inside of Celery processes. We need to port the installation to 3.0. The signal handler itself has already been ported to 3.0-dev and now lives here[0]. 

 The signal handler on the 2.y line was imported with this line[2]. Note that pulp.server.async.app is now pulp.tasking.celery_app so the noqa import should occur there. 

 [0]: https://github.com/pulp/pulp/blob/523677d7244b7f3da98e47b7214d3e2c228efee9/app/pulp/app/logs.py#L15 
 [1]: https://github.com/pulp/pulp/blob/6837b902f9babdab26c3dae3ab49f975b591ae63/server/pulp/server/logs.py#L34-L73 
 [2]: https://github.com/pulp/pulp/blob/33ce8590f6112c2101930e23f0470c1883ef98a7/server/pulp/server/async/app.py#L27 
 [3]:

Back