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

feat: Change get_plugin_apps to log at info level with more detail #357

Merged
merged 1 commit into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ Change Log

.. There should always be an "Unreleased" section for changes pending release.

[5.8.0] - 2023-11-03
--------------------

Changed
~~~~~~~
* Adjusted ``get_plugin_apps`` to log at info level rather than debug and with more detail, though with a comment that this may not actually end up logging.

[5.7.0] - 2023-08-04
--------------------

Expand Down
2 changes: 1 addition & 1 deletion edx_django_utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
EdX utilities for Django Application development..
"""

__version__ = "5.7.0"
__version__ = "5.8.0"

default_app_config = (
"edx_django_utils.apps.EdxDjangoUtilsConfig"
Expand Down
4 changes: 3 additions & 1 deletion edx_django_utils/plugins/plugin_apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ def get_plugin_apps(project_type):
if getattr(app_config, constants.PLUGIN_APP_CLASS_ATTRIBUTE_NAME, None)
is not None
]
log.debug("Plugin Apps: Found %s", plugin_apps)
# Note: This may not actually get logged; in edx-platform at least, logging seems to be
# set at WARN at the time this is actually called.
log.info(f"WARN: Plugin apps: For project type {project_type!r}, found {plugin_apps!r}")
return plugin_apps
Loading