Skip to content

Commit

Permalink
fix: move winston logging for plugin hook firing to debug level
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlam committed Feb 7, 2024
1 parent 523f7ac commit e240d0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/hooks.js
Expand Up @@ -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]) {
Expand Down

0 comments on commit e240d0f

Please sign in to comment.