<p dir="auto"><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ask/celery/commit/b36a0c304473e81e9f854bd45cbf88a93dbb5040/hovercard" href="https://github.com/ask/celery/commit/b36a0c304473e81e9f854bd45cbf88a93dbb5040">ask@<tt>b36a0c3</tt></a> forces CELERYD_LOG_COLOR to True, even when configured to be False. It also appears to duplicate some of the logic in celery.app.base.BaseApp.post_config_merge, so it seems like the line in question could just be removed.</p>
<h1 dir="auto">Checklist</h1>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+label%3A%22Category%3A+Documentation%22+">issues list</a><br>
for similar or identical bug reports.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22Category%3A+Documentation%22">pull requests list</a><br>
for existing proposed fixes.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br>
to find out if the bug was already fixed in the master branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues in this issue<br>
(If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Related Issues and Possible Duplicates</h2>

<h4 dir="auto">Related Issues</h4>
<ul dir="auto">
<li>Half of the docs were reverted here: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="665621548" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/6240" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/6240/hovercard" href="https://github.com/celery/celery/issues/6240">#6240</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="679862037" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/6303" data-hovercard-type="pull_request" data-hovercard-url="/celery/celery/pull/6303/hovercard" href="https://github.com/celery/celery/pull/6303">#6303</a> but this does not fix entirely</li>
</ul>
<h4 dir="auto">Possible Duplicates</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h1 dir="auto">Description</h1>

<p dir="auto"><a href="https://github.com/celery/celery/blob/v4.4.7/docs/whatsnew-4.4.rst#configuration">https://github.com/celery/celery/blob/v4.4.7/docs/whatsnew-4.4.rst#configuration</a> states that <code class="notranslate">CELERY_TASK_RESULT_EXPIRES</code> has changed to <code class="notranslate">CELERY_RESULT_EXPIRES</code> but the new setting is ignored. Note that this change is not mentioned in the changelog, it is on the what's new page and has been recently reverted on the configuration page.</p>
<p dir="auto">The code also seems to still require CELERY_TASK_RESULT_EXPIRES - e.g. <a href="https://github.com/celery/celery/blob/v4.4.7/celery/app/defaults.py#L213">https://github.com/celery/celery/blob/v4.4.7/celery/app/defaults.py#L213</a></p>
<h1 dir="auto">Suggestions</h1>

<p dir="auto">Change <a href="https://github.com/celery/celery/blob/v4.4.7/celery/app/defaults.py#L213">https://github.com/celery/celery/blob/v4.4.7/celery/app/defaults.py#L213</a> to <code class="notranslate">celery_result_expires</code> - I think this fixes the issue, or change both the "what's new" and configuration options pages to be the same.</p>