diff options
author | Ben Sturmfels <ben@sturm.com.au> | 2021-08-23 13:26:25 +1000 |
---|---|---|
committer | Ben Sturmfels <ben@sturm.com.au> | 2021-08-23 13:46:05 +1000 |
commit | b3d3d33c96201d24c461d8fd11683d350b1d8d96 (patch) | |
tree | e27c9e27358d9eac68b41ebba0ff990a68a1a251 /docs | |
parent | cfe50e6400faa609deef2a583e830519aac25dcd (diff) | |
download | mediagoblin-b3d3d33c96201d24c461d8fd11683d350b1d8d96.tar.lz mediagoblin-b3d3d33c96201d24c461d8fd11683d350b1d8d96.tar.xz mediagoblin-b3d3d33c96201d24c461d8fd11683d350b1d8d96.zip |
Don't disable existing loggers when initialising Celery.
Prior to this change, the Celery logging did not include any of the logging
calls within MediaGoblin because `disable_existing_loggers` defaulted to True.
This was unhelpful and inconsistent with the logging behaviour of the web process.
The MediaGoblin web process sets logging output based on the configuration in
paste.ini. This is loaded by the `paster` program, rather than MediaGoblin
itself.
The MediaGoblin celery process manually loads its logging config from paste.ini,
but previously defaulted to `disable_existing_loggers=True`, meaning that none
of the application logging flowed through unless the logger was explicitly added
to paste.ini.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/source/siteadmin/relnotes.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/source/siteadmin/relnotes.rst b/docs/source/siteadmin/relnotes.rst index 03d8db06..78342d99 100644 --- a/docs/source/siteadmin/relnotes.rst +++ b/docs/source/siteadmin/relnotes.rst @@ -50,6 +50,7 @@ This chapter has important information about our current and previous releases. - Fix test suite on Debian 11 (Ben Sturmfels) - Remove reference to jsonschema.compat no longer available upstream (Marco Pessotto) - Fix images being marked as failed after Celery restart [#5608] (Ben Sturmfels) +- Fix app logging calls not showing in Celery logs (Ben Sturmfels) 0.11.0 |