Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downgrade 'Unable to find purge backend' messages to info #11899

Merged
merged 1 commit into from Apr 27, 2024

Conversation

gasman
Copy link
Collaborator

@gasman gasman commented Apr 26, 2024

#11858 has made test output very noisy, because the wagtail.contrib.frontend_cache app is enabled in INSTALLED_APPS but has no backends defined (by default - these are added for individual tests via override_settings) - consequently, any publish/unpublish action in the regular tests produces a warning "Unable to find purge backend for localhost".

I've chosen to downgrade this to an "info" message, since warnings are generally reserved for configurations that are "wrong but recoverable" - there are potentially valid reasons to have a frontend cache configured for some but not all hostnames, so it's not inherently something that needs developer attention.

@gasman gasman added this to the 6.2 milestone Apr 26, 2024
Copy link

squash-labs bot commented Apr 26, 2024

Manage this branch in Squash

Test this branch here: https://gasmanadminmake-frontend-cache-txcqk.squash.io

@gasman gasman merged commit 7c6187f into wagtail:main Apr 27, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants