whatsnew-4.0.rst 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730
  1. .. _whatsnew-4.0:
  2. ===========================================
  3. What's new in Celery 4.0 (TBA)
  4. ===========================================
  5. :Author: Ask Solem (ask at celeryproject.org)
  6. .. sidebar:: Change history
  7. What's new documents describe the changes in major versions,
  8. we also have a :ref:`changelog` that lists the changes in bugfix
  9. releases (0.0.x), while older series are archived under the :ref:`history`
  10. section.
  11. Celery is a simple, flexible and reliable distributed system to
  12. process vast amounts of messages, while providing operations with
  13. the tools required to maintain such a system.
  14. It's a task queue with focus on real-time processing, while also
  15. supporting task scheduling.
  16. Celery has a large and diverse community of users and contributors,
  17. you should come join us :ref:`on IRC <irc-channel>`
  18. or :ref:`our mailing-list <mailing-list>`.
  19. To read more about Celery you should go read the :ref:`introduction <intro>`.
  20. While this version is backward compatible with previous versions
  21. it's important that you read the following section.
  22. This version is officially supported on CPython 2.7, 3.4 and 3.5.
  23. and also supported on PyPy.
  24. .. _`website`: http://celeryproject.org/
  25. .. topic:: Table of Contents
  26. Make sure you read the important notes before upgrading to this version.
  27. .. contents::
  28. :local:
  29. :depth: 2
  30. Preface
  31. =======
  32. .. _v320-important:
  33. Important Notes
  34. ===============
  35. Dropped support for Python 2.6
  36. ------------------------------
  37. Celery now requires Python 2.7 or later.
  38. Dropped support for Python 3.3
  39. ------------------------------
  40. Celery now requires Python3 3.4 or later.
  41. JSON is now the default serializer
  42. ----------------------------------
  43. The Task base class no longer automatically register tasks
  44. ----------------------------------------------------------
  45. The metaclass has been removed blah blah
  46. Arguments now verified when calling a task
  47. ------------------------------------------
  48. Redis Events not backward compatible
  49. ------------------------------------
  50. The Redis ``fanout_patterns`` and ``fanout_prefix`` transport
  51. options are now enabled by default, which means that workers
  52. running 4.0 cannot see workers running 3.1 and vice versa.
  53. They should still execute tasks as normally, so this is only
  54. related to monitoring events.
  55. To avoid this situation you can reconfigure the 3.1 workers (and clients)
  56. to enable these settings before you mix them with workers and clients
  57. running 4.x:
  58. .. code-block:: python
  59. BROKER_TRANSPORT_OPTIONS = {
  60. 'fanout_patterns': True,
  61. 'fanout_prefix': True,
  62. }
  63. Lowercase setting names
  64. -----------------------
  65. In the pursuit of beauty all settings have been renamed to be in all
  66. lowercase, in a consistent naming scheme.
  67. This change is fully backwards compatible so you can still use the uppercase
  68. setting names.
  69. The loader will try to detect if your configuration is using the new format,
  70. and act accordingly, but this also means that you are not allowed to mix and
  71. match new and old setting names, that is unless you provide a value for both
  72. alternatives.
  73. The major difference between previous versions, apart from the lower case
  74. names, are the renaming of some prefixes, like ``celerybeat_`` to ``beat_``,
  75. ``celeryd_`` to ``worker_``.
  76. The ``celery_`` prefix has also been removed, and task related settings
  77. from this namespace is now prefixed by ``task_``, worker related settings
  78. with ``worker_``.
  79. Apart from this most of the settings will be the same in lowercase, apart from
  80. a few special ones:
  81. ===================================== ==========================================================
  82. **Setting name** **Replace with**
  83. ===================================== ==========================================================
  84. ``CELERY_MAX_CACHED_RESULTS`` :setting:`result_cache_max`
  85. ``CELERY_MESSAGE_COMPRESSION`` :setting:`result_compression`/:setting:`task_compression`.
  86. ``CELERY_TASK_RESULT_EXPIRES`` :setting:`result_expires`
  87. ``CELERY_RESULT_DBURI`` :setting:`sqlalchemy_dburi`
  88. ``CELERY_RESULT_ENGINE_OPTIONS`` :setting:`sqlalchemy_engine_options`
  89. ``-*-_DB_SHORT_LIVED_SESSIONS`` :setting:`sqlalchemy_short_lived_sessions`
  90. ``CELERY_RESULT_DB_TABLE_NAMES`` :setting:`sqlalchemy_db_names`
  91. ``CELERY_ACKS_LATE`` :setting:`task_acks_late`
  92. ``CELERY_ALWAYS_EAGER`` :setting:`task_always_eager`
  93. ``CELERY_ANNOTATIONS`` :setting:`task_annotations`
  94. ``CELERY_MESSAGE_COMPRESSION`` :setting:`task_compression`
  95. ``CELERY_CREATE_MISSING_QUEUES`` :setting:`task_create_missing_queues`
  96. ``CELERY_DEFAULT_DELIVERY_MODE`` :setting:`task_default_delivery_mode`
  97. ``CELERY_DEFAULT_EXCHANGE`` :setting:`task_default_exchange`
  98. ``CELERY_DEFAULT_EXCHANGE_TYPE`` :setting:`task_default_exchange_type`
  99. ``CELERY_DEFAULT_QUEUE`` :setting:`task_default_queue`
  100. ``CELERY_DEFAULT_RATE_LIMIT`` :setting:`task_default_rate_limit`
  101. ``CELERY_DEFAULT_ROUTING_KEY`` :setting:`task_default_routing_key`
  102. ``-"-_EAGER_PROPAGATES_EXCEPTIONS`` :setting:`task_eager_propagates`
  103. ``CELERY_IGNORE_RESULT`` :setting:`task_ignore_result`
  104. ``CELERY_TASK_PUBLISH_RETRY`` :setting:`task_publish_retry`
  105. ``CELERY_TASK_PUBLISH_RETRY_POLICY`` :setting:`task_publish_retry_policy`
  106. ``CELERY_QUEUES`` :setting:`task_queues`
  107. ``CELERY_ROUTES`` :setting:`task_routes`
  108. ``CELERY_SEND_TASK_ERROR_EMAILS`` :setting:`task_send_error_emails`
  109. ``CELERY_SEND_TASK_SENT_EVENT`` :setting:`task_send_sent_event`
  110. ``CELERY_TASK_SERIALIZER`` :setting:`task_serializer`
  111. ``CELERYD_TASK_SOFT_TIME_LIMIT`` :setting:`task_soft_time_limit`
  112. ``CELERYD_TASK_TIME_LIMIT`` :setting:`task_time_limit`
  113. ``CELERY_TRACK_STARTED`` :setting:`task_track_started`
  114. ``CELERY_DISABLE_RATE_LIMITS`` :setting:`worker_disable_rate_limits`
  115. ``CELERY_ENABLE_REMOTE_CONTROL`` :setting:`worker_enable_remote_control`
  116. ``CELERYD_SEND_EVENTS`` :setting:`worker_send_task_events`
  117. ===================================== ==========================================================
  118. You can see a full table of the changes in :ref:`conf-old-settings-map`.
  119. Django: Autodiscover no longer takes arguments.
  120. -----------------------------------------------
  121. Celery's Django support will instead automatically find your installed apps,
  122. which means app configurations will work.
  123. # e436454d02dcbba4f4410868ad109c54047c2c15
  124. Old command-line programs removed
  125. ---------------------------------
  126. Installing Celery will no longer install the ``celeryd``,
  127. ``celerybeat`` and ``celeryd-multi`` programs.
  128. This was announced with the release of Celery 3.1, but you may still
  129. have scripts pointing to the old names, so make sure you update them
  130. to use the new umbrella command.
  131. +-------------------+--------------+-------------------------------------+
  132. | Program | New Status | Replacement |
  133. +===================+==============+=====================================+
  134. | ``celeryd`` | **REMOVED** | :program:`celery worker` |
  135. +-------------------+--------------+-------------------------------------+
  136. | ``celerybeat`` | **REMOVED** | :program:`celery beat` |
  137. +-------------------+--------------+-------------------------------------+
  138. | ``celeryd-multi`` | **REMOVED** | :program:`celery multi` |
  139. +-------------------+--------------+-------------------------------------+
  140. .. _v320-news:
  141. News
  142. ====
  143. New Task Message Protocol
  144. =========================
  145. # e71652d384b1b5df2a4e6145df9f0efb456bc71c
  146. ``TaskProducer`` replaced by ``app.amqp.create_task_message`` and
  147. ``app.amqp.send_task_message``.
  148. - Worker stores results for internal errors like ``ContentDisallowed``, and
  149. exceptions occurring outside of the task function.
  150. - Worker stores results and sends monitoring events for unknown task names
  151. - shadow
  152. - argsrepr
  153. - Support for very long chains
  154. - parent_id / root_id
  155. Prefork: Tasks now log from the child process
  156. =============================================
  157. Logging of task success/failure now happens from the child process
  158. actually executing the task, which means that logging utilities
  159. like Sentry can get full information about tasks that fail, including
  160. variables in the traceback.
  161. Prefork: One logfile per child process
  162. ======================================
  163. Init scrips and :program:`celery multi` now uses the `%I` logfile format
  164. option (e.g. :file:`/var/log/celery/%n%I.log`) to ensure each child
  165. process has a separate log file to avoid race conditions.
  166. You are encouraged to upgrade your init scripts and multi arguments
  167. to do so also.
  168. Canvas Refactor
  169. ===============
  170. # BLALBLABLA
  171. d79dcd8e82c5e41f39abd07ffed81ca58052bcd2
  172. 1e9dd26592eb2b93f1cb16deb771cfc65ab79612
  173. e442df61b2ff1fe855881c1e2ff9acc970090f54
  174. 0673da5c09ac22bdd49ba811c470b73a036ee776
  175. - Now unrolls groups within groups into a single group (Issue #1509).
  176. - chunks/map/starmap tasks now routes based on the target task
  177. - chords and chains can now be immutable.
  178. - Fixed bug where serialized signature were not converted back into
  179. signatures (Issue #2078)
  180. Fix contributed by Ross Deane.
  181. - Fixed problem where chains and groups did not work when using JSON
  182. serialization (Issue #2076).
  183. Fix contributed by Ross Deane.
  184. - Creating a chord no longer results in multiple values for keyword
  185. argument 'task_id'" (Issue #2225).
  186. Fix contributed by Aneil Mallavarapu
  187. - Fixed issue where the wrong result is returned when a chain
  188. contains a chord as the penultimate task.
  189. Fix contributed by Aneil Mallavarapu
  190. - Special case of ``group(A.s() | group(B.s() | C.s()))`` now works.
  191. - Chain: Fixed bug with incorrect id set when a subtask is also a chain.
  192. Schedule tasks based on sunrise, sunset, dawn and dusk.
  193. =======================================================
  194. See :ref:`beat-solar` for more information.
  195. Contributed by Mark Parncutt.
  196. App can now configure periodic tasks
  197. ====================================
  198. # bc18d0859c1570f5eb59f5a969d1d32c63af764b
  199. # 132d8d94d38f4050db876f56a841d5a5e487b25b
  200. RabbitMQ Priority queue support
  201. ===============================
  202. # 1d4cbbcc921aa34975bde4b503b8df9c2f1816e0
  203. Contributed by Gerald Manipon.
  204. Prefork: Limits for child process resident memory size.
  205. =======================================================
  206. This version introduces the new :setting:`worker_max_memory_per_child` setting,
  207. which BLA BLA BLA
  208. # 5cae0e754128750a893524dcba4ae030c414de33
  209. Contributed by Dave Smith.
  210. Redis: New optimized chord join implementation.
  211. ===============================================
  212. This was an experimental feature introduced in Celery 3.1,
  213. but is now enabled by default.
  214. ?new_join BLABLABLA
  215. Riak Result Backend
  216. ===================
  217. Contributed by Gilles Dartiguelongue, Alman One and NoKriK.
  218. Bla bla
  219. - blah blah
  220. CouchDB Result Backend
  221. ======================
  222. Contributed by Nathan Van Gheem
  223. New Cassandra Backend
  224. =====================
  225. The new Cassandra backend utilizes the python-driver library.
  226. Old backend is deprecated and everyone using cassandra is required to upgrade
  227. to be using the new driver.
  228. # XXX What changed?
  229. Event Batching
  230. ==============
  231. Events are now buffered in the worker and sent as a list, and
  232. events are sent as transient messages by default so that they are not written
  233. to disk by RabbitMQ.
  234. 03399b4d7c26fb593e61acf34f111b66b340ba4e
  235. Task.replace
  236. ============
  237. Task.replace changed, removes Task.replace_in_chord.
  238. The two methods had almost the same functionality, but the old Task.replace
  239. would force the new task to inherit the callbacks/errbacks of the existing
  240. task.
  241. If you replace a node in a tree, then you would not expect the new node to
  242. inherit the children of the old node, so this seems like unexpected
  243. behavior.
  244. So self.replace(sig) now works for any task, in addition sig can now
  245. be a group.
  246. Groups are automatically converted to a chord, where the callback
  247. will "accumulate" the results of the group tasks.
  248. A new builtin task (`celery.accumulate` was added for this purpose)
  249. Closes #817
  250. Optimized Beat implementation
  251. =============================
  252. heapq
  253. 20340d79b55137643d5ac0df063614075385daaa
  254. Contributed by Ask Solem and Alexander Koshelev.
  255. Task Autoretry Decorator
  256. ========================
  257. 75246714dd11e6c463b9dc67f4311690643bff24
  258. Contributed by Dmitry Malinovsky.
  259. In Other News
  260. -------------
  261. - **Requirements**:
  262. - Now depends on :ref:`Kombu 3.1 <kombu:version-3.1.0>`.
  263. - Now depends on :mod:`billiard` version 3.4.
  264. - No longer depends on ``anyjson`` :sadface:
  265. - **Programs**: ``%n`` format for :program:`celery multi` is now synonym with
  266. ``%N`` to be consistent with :program:`celery worker`.
  267. - **Programs**: celery inspect/control now supports ``--json`` argument to
  268. give output in json format.
  269. - **Programs**: :program:`celery inspect registered` now ignores built-in
  270. tasks.
  271. - **Programs**: New :program:`celery logtool`: Utility for filtering and parsing
  272. celery worker logfiles
  273. - **Redis Transport**: The Redis transport now supports the
  274. :setting:`broker_use_ssl` option.
  275. - **Worker**: Worker now only starts the remote control command consumer if the
  276. broker transport used actually supports them.
  277. - **Worker**: Gossip now sets ``x-message-ttl`` for event queue to heartbeat_interval s.
  278. (Issue #2005).
  279. - **Worker**: Now preserves exit code (Issue #2024).
  280. - **Worker**: Loglevel for unrecoverable errors changed from ``error`` to
  281. ``critical``.
  282. - **Worker**: Improved rate limiting accuracy.
  283. - **Worker**: Account for missing timezone information in task expires field.
  284. Fix contributed by Albert Wang.
  285. - **Worker**: The worker no longer has a ``Queues`` bootsteps, as it is now
  286. superfluous.
  287. - **Tasks**: New :setting:`task_reject_on_worker_lost` setting, and
  288. :attr:`~@Task.reject_on_worker_lost` task attribute decides what happens
  289. when the child worker process executing a late ack task is terminated.
  290. Contributed by Michael Permana.
  291. - **App**: New signals for app configuration/finalization:
  292. - :data:`app.on_configure <@on_configure>`
  293. - :data:`app.on_after_configure <@on_after_configure>`
  294. - :data:`app.on_after_finalize <@on_after_finalize>`
  295. - **Task**: New task signals for rejected task messages:
  296. - :data:`celery.signals.task_rejected`.
  297. - :data:`celery.signals.task_unknown`.
  298. - **Events**: Event messages now uses the RabbitMQ ``x-message-ttl`` option
  299. to ensure older event messages are discarded.
  300. The default is 5 seconds, but can be changed using the
  301. :setting:`event_queue_ttl` setting.
  302. - **Events**: Event monitors now sets the :setting:`event_queue_expires`
  303. setting by default.
  304. The queues will now expire after 60 seconds after the monitor stops
  305. consuming from it.
  306. - **Canvas**: ``chunks``/``map``/``starmap`` are now routed based on the target task.
  307. - **Canvas**: ``Signature.link`` now works when argument is scalar (not a list)
  308. (Issue #2019).
  309. - **App**: The application can now change how task names are generated using
  310. the :meth:`~@gen_task_name` method.
  311. Contributed by Dmitry Malinovsky.
  312. - **Tasks**: ``Task.subtask`` renamed to ``Task.signature`` with alias.
  313. - **Tasks**: ``Task.subtask_from_request`` renamed to
  314. ``Task.signature_from_request`` with alias.
  315. - **Tasks**: The ``delivery_mode`` attribute for :class:`kombu.Queue` is now
  316. respected (Issue #1953).
  317. - **Tasks**: Routes in :setting:`task-routes` can now specify a
  318. :class:`~kombu.Queue` instance directly.
  319. Example:
  320. .. code-block:: python
  321. task_routes = {'proj.tasks.add': {'queue': Queue('add')}}
  322. - **Tasks**: ``AsyncResult`` now raises :exc:`ValueError` if task_id is None.
  323. (Issue #1996).
  324. - **Tasks**: ``result.get()`` now supports an ``on_message`` argument to set a
  325. callback to be called for every message received.
  326. - **Tasks**: New abstract classes added:
  327. - :class:`~celery.utils.abstract.CallableTask`
  328. Looks like a task.
  329. - :class:`~celery.utils.abstract.CallableSignature`
  330. Looks like a task signature.
  331. - **Programs**: :program:`celery multi` now passes through `%i` and `%I` log
  332. file formats.
  333. - **Programs**: A new command line option :option:``--executable`` is now
  334. available for daemonizing programs.
  335. Contributed by Bert Vanderbauwhede.
  336. - **Programs**: :program:`celery worker` supports new
  337. :option:`--prefetch-multiplier` option.
  338. Contributed by Mickaël Penhard.
  339. - **Prefork**: Prefork pool now uses ``poll`` instead of ``select`` where
  340. available (Issue #2373).
  341. - **Tasks**: New :setting:`email_charset` setting allows for changing
  342. the charset used for outgoing error emails.
  343. Contributed by Vladimir Gorbunov.
  344. - **Worker**: Now respects :setting:`broker_connection_retry` setting.
  345. Fix contributed by Nat Williams.
  346. - **Worker**: Autoscale did not always update keepalive when scaling down.
  347. Fix contributed by Philip Garnero.
  348. - **General**: Dates are now always timezone aware even if
  349. :setting:`enable_utc` is disabled (Issue #943).
  350. Fix contributed by Omer Katz.
  351. - **Result Backends**: The redis result backend now has a default socket
  352. timeout of 5 seconds.
  353. The default can be changed using the new :setting:`redis_socket_timeout`
  354. setting.
  355. Contributed by Raghuram Srinivasan.
  356. - **Result Backends**: RPC Backend result queues are now auto delete by
  357. default (Issue #2001).
  358. - **Result Backends**: MongoDB now supports setting the
  359. :setting:`result_serialzier` setting to ``bson`` to use the MongoDB
  360. libraries own serializer.
  361. Contributed by Davide Quarta.
  362. - **Result Backends**: SQLAlchemy result backend now ignores all result
  363. engine options when using NullPool (Issue #1930).
  364. - **Result Backends**: MongoDB URI handling has been improved to use
  365. database name, user and password from the URI if provided.
  366. Contributed by Samuel Jaillet.
  367. - **Result Backends**: Fix problem with rpc/amqp backends where exception
  368. was not deserialized properly with the json serializer (Issue #2518).
  369. Fix contributed by Allard Hoeve.
  370. - **General**: All Celery exceptions/warnings now inherit from common
  371. :class:`~celery.exceptions.CeleryException`/:class:`~celery.exceptions.CeleryWarning`.
  372. (Issue #2643).
  373. - **Tasks**: Task retry now also throws in eager mode.
  374. Fix contributed by Feanil Patel.
  375. - Apps can now define how tasks are named (:meth:`@gen_task_name`).
  376. Contributed by Dmitry Malinovsky
  377. - Module ``celery.worker.job`` renamed to :mod:`celery.worker.request`.
  378. - Beat: ``Scheduler.Publisher``/``.publisher`` renamed to
  379. ``.Producer``/``.producer``.
  380. Unscheduled Removals
  381. ====================
  382. - The experimental :mod:`celery.contrib.methods` feature has been removed,
  383. as there were far many bugs in the implementation to be useful.
  384. - The CentOS init scripts have been removed.
  385. These did not really add any features over the generic init scripts,
  386. so you are encouraged to use them instead, or something like
  387. ``supervisord``.
  388. .. _v320-removals:
  389. Scheduled Removals
  390. ==================
  391. Modules
  392. -------
  393. - Module ``celery.worker.job`` has been renamed to :mod:`celery.worker.request`.
  394. This was an internal module so should not have any effect.
  395. It is now part of the public API so should not change again.
  396. - Module ``celery.task.trace`` has been renamed to ``celery.app.trace``
  397. as the ``celery.task`` package is being phased out. The compat module
  398. will be removed in version 4.0 so please change any import from::
  399. from celery.task.trace import …
  400. to::
  401. from celery.app.trace import …
  402. - Old compatibility aliases in the :mod:`celery.loaders` module
  403. has been removed.
  404. - Removed ``celery.loaders.current_loader()``, use: ``current_app.loader``
  405. - Removed ``celery.loaders.load_settings()``, use: ``current_app.conf``
  406. Result
  407. ------
  408. - ``AsyncResult.serializable()`` and ``celery.result.from_serializable``
  409. has been removed:
  410. Use instead:
  411. .. code-block:: pycon
  412. >>> tup = result.as_tuple()
  413. >>> from celery.result import result_from_tuple
  414. >>> result = result_from_tuple(tup)
  415. - Removed ``BaseAsyncResult``, use ``AsyncResult`` for instance checks
  416. instead.
  417. - Removed ``TaskSetResult``, use ``GroupResult`` instead.
  418. - ``TaskSetResult.total`` -> ``len(GroupResult)``
  419. - ``TaskSetResult.taskset_id`` -> ``GroupResult.id``
  420. TaskSet
  421. -------
  422. TaskSet has been renamed to group and TaskSet will be removed in version 4.0.
  423. Old::
  424. >>> from celery.task import TaskSet
  425. >>> TaskSet(add.subtask((i, i)) for i in xrange(10)).apply_async()
  426. New::
  427. >>> from celery import group
  428. >>> group(add.s(i, i) for i in xrange(10))()
  429. Magic keyword arguments
  430. -----------------------
  431. Support for the very old magic keyword arguments accepted by tasks has finally
  432. been in 4.0.
  433. If you are still using these you have to rewrite any task still
  434. using the old ``celery.decorators`` module and depending
  435. on keyword arguments being passed to the task,
  436. for example::
  437. from celery.decorators import task
  438. @task()
  439. def add(x, y, task_id=None):
  440. print("My task id is %r" % (task_id,))
  441. should be rewritten into::
  442. from celery import task
  443. @task(bind=True)
  444. def add(self, x, y):
  445. print("My task id is {0.request.id}".format(self))
  446. Settings
  447. --------
  448. The following settings have been removed, and is no longer supported:
  449. Logging Settings
  450. ~~~~~~~~~~~~~~~~
  451. ===================================== =====================================
  452. **Setting name** **Replace with**
  453. ===================================== =====================================
  454. ``CELERYD_LOG_LEVEL`` :option:`--loglevel`
  455. ``CELERYD_LOG_FILE`` :option:`--logfile``
  456. ``CELERYBEAT_LOG_LEVEL`` :option:`--loglevel`
  457. ``CELERYBEAT_LOG_FILE`` :option:`--loglevel``
  458. ``CELERYMON_LOG_LEVEL`` celerymon is deprecated, use flower.
  459. ``CELERYMON_LOG_FILE`` celerymon is deprecated, use flower.
  460. ``CELERYMON_LOG_FORMAT`` celerymon is deprecated, use flower.
  461. ===================================== =====================================
  462. Task Settings
  463. ~~~~~~~~~~~~~~
  464. ===================================== =====================================
  465. **Setting name** **Replace with**
  466. ===================================== =====================================
  467. ``CELERY_CHORD_PROPAGATES`` N/a
  468. ===================================== =====================================
  469. .. _v320-deprecations:
  470. Deprecations
  471. ============
  472. See the :ref:`deprecation-timeline`.
  473. .. _v320-fixes:
  474. Fixes
  475. =====