fix: move winston logging for plugin hook firing to debug level

This commit is contained in:
Julian Lam
2024-02-07 15:07:17 -05:00
parent 523f7ace97
commit e240d0f92c

View File

@@ -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]) {