diff --git a/invokeai/frontend/web/src/app/logging/useLogger.ts b/invokeai/frontend/web/src/app/logging/useLogger.ts index f292f1f929..c86844f5ed 100644 --- a/invokeai/frontend/web/src/app/logging/useLogger.ts +++ b/invokeai/frontend/web/src/app/logging/useLogger.ts @@ -20,8 +20,7 @@ export const useLogger = (namespace: LogNamespace) => { // Use a filter to show only logs of the given level let filter = `context.logLevel:>=${LOG_LEVEL_MAP[logLevel]}`; if (logNamespaces.length > 0) { - filter += ' AND '; - filter = `(${logNamespaces.map((ns) => `context.namespace:${ns}`).join(' OR ')})`; + filter += ` AND (${logNamespaces.map((ns) => `context.namespace:${ns}`).join(' OR ')})`; } else { filter += ' AND context.namespace:undefined'; }