---
title: "disable_console_logging"
description: "Disable Tilebox-managed console logging in the current Python process without disabling log exports."
image: "https://tilebox.com/images/tilebox-docs-social-preview.png"
---

> Documentation Index
> Fetch the complete documentation index at: https://tilebox.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# disable_console_logging

```python
def disable_console_logging() -> None
```

Import from `tilebox.workflows.observability.logging`.

Remove Tilebox-managed console handlers and keep automatic console output disabled in the current process. This works before or after runner initialization. Later calls to `get_logger()` or logging initialization do not re-enable it.

Tilebox export, external exporters, CLI log streaming, and application-installed handlers remain active. If your application configures its own logging handlers, call this function to avoid duplicate console output.

Call `configure_console_logging()` to restore console output to standard output with no additional severity filter (`filter_level=logging.NOTSET`). This leaves task verbosity unchanged; it does not restore a previous custom stream or filter. The existing `configure_console_logging(enabled=False)` form has the same effect as `disable_console_logging()`.

See [Configure local console logging](/docs/workflows/run-and-inspect/logging#configure-local-console-logging) for automatic output, formatting, and DEBUG configuration.

## Parameters

None.

## Returns

`None`.

<h2 id="request-example">Usage example</h2>

```python
from tilebox.workflows.observability.logging import (
    configure_console_logging,
    disable_console_logging,
)

# May be called before creating a runner.
disable_console_logging()

# To restore console output later:
configure_console_logging()
```

Source: https://tilebox.com/docs/api-reference/python/tilebox.workflows/observability.logging.disable_console_logging/index.mdx
