mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Change debug message for plugin events (#4884)
- Change from .info to .debug for less verbosity
This commit is contained in:
parent
09e99e5f75
commit
4d00c471e1
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user