Node.js based forum software built for the modern web
fix: move winston logging for plugin hook firing to debug level
Julian Lame240d0f92ca7
diff --git a/src/plugins/hooks.js b/src/plugins/hooks.jsindex 197af92b3d..0c2d262c5a 100644--- a/src/plugins/hooks.js+++ b/src/plugins/hooks.js@@ -176,7 +176,7 @@ Hooks.fire = async function (hook, params) {const hookList = plugins.loadedHooks[hook];const hookType = hook.split(':')[0];if (global.env === 'development' && hook !== 'action:plugins.firehook' && hook !== 'filter:plugins.firehook') {- winston.verbose(`[plugins/fireHook] ${hook}`);+ winston.debug(`[plugins/fireHook] ${hook}`);}if (!hookTypeToMethod[hookType]) {