Skip to content

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 for automatic output, formatting, and DEBUG configuration.

Parameters

None.

Returns

None.

Type to search…