diff --git a/middleware/swagger-ui.js b/middleware/swagger-ui.js
index <HASH>..<HASH> 100644
--- a/middleware/swagger-ui.js
+++ b/middleware/swagger-ui.js
@@ -130,7 +130,7 @@ exports = module.exports = function swaggerUIMiddleware (rlOrSO, apiDeclarations
     var isSwaggerUiPath = path === options.swaggerUi || path.indexOf(options.swaggerUi + '/') === 0;
 
     debug('%s %s', req.method, req.url);
-    debug('  Will process: %s', isApiDocsPath || isSwaggerUiPath ? 'no' : 'yes');
+    debug('  Will process: %s', isApiDocsPath || isSwaggerUiPath ? 'yes' : 'no');
 
     if (isApiDocsPath) {
       debug('  Serving API Docs');
Fixed issue with invalid debugging in swagger-ui