2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 11:05:41 +00:00

Change debug message for plugin events (#4884)

- Change from .info to .debug for less verbosity
This commit is contained in:
Oliver
2023-05-24 15:32:49 +10:00
committed by GitHub
parent 09e99e5f75
commit 4d00c471e1

View File

@ -79,7 +79,6 @@ def process_event(plugin_slug, event, *args, **kwargs):
This function is run by the background worker process. This function is run by the background worker process.
This function may queue multiple functions to be handled by the background worker. This function may queue multiple functions to be handled by the background worker.
""" """
logger.info(f"Plugin '{plugin_slug}' is processing triggered event '{event}'")
plugin = registry.plugins.get(plugin_slug, None) plugin = registry.plugins.get(plugin_slug, None)
@ -88,6 +87,7 @@ def process_event(plugin_slug, event, *args, **kwargs):
return return
plugin.process_event(event, *args, **kwargs) plugin.process_event(event, *args, **kwargs)
logger.debug(f"Plugin '{plugin_slug}' is processing triggered event '{event}'")
def allow_table_event(table_name): def allow_table_event(table_name):