mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: move winston logging for plugin hook firing to debug level
This commit is contained in:
@@ -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]) {
|
||||
|
||||
Reference in New Issue
Block a user