> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# disableConsoleIntercept

- **Type:** `boolean`
- **Default:** `false`
- **CLI:** `--disableConsoleIntercept`

Disable interception of console logs. By default, Rstest intercepts the console log, which will help track log sources.

If you don't want Rstest to intercept console logs, you can set this configuration to `true`.


**CLI**

```bash
npx rstest --disableConsoleIntercept
```


**rstest.config.ts**

```ts
import { defineConfig } from '@rstest/core';

export default defineConfig({
  disableConsoleIntercept: true,
});
```


It should be noted that when you disable interception of console logs, the [onConsoleLog](/config/test/on-console-log.md) and [printConsoleTrace](/config/test/print-console-trace.md) configurations will not take effect. However, if [silent](/config/test/silent.md) is enabled, Rstest still keeps an internal interception path so `silent` can continue to control test log output.

In browser mode, that internal path still calls the original `console.*` for DevTools.
