diff --git a/web/src/api/Config.ts b/web/src/api/Config.ts index 6cd207e57..ed8b98484 100644 --- a/web/src/api/Config.ts +++ b/web/src/api/Config.ts @@ -9,15 +9,7 @@ export class LoggingMiddleware implements Middleware { tenant().then(tenant => { let msg = `authentik/api[${tenant.matchedDomain}]: `; msg += `${context.response.status} ${context.init.method} ${context.url}`; - if (context.response.status >= 400) { - const resClone = context.response.clone(); - resClone.text().then(t => { - msg += ` => ${t}`; - console.debug(msg); - }); - } else { - console.debug(msg); - } + console.debug(msg); }); return Promise.resolve(context.response); }