> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-docs-1917.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# How do I silence W&B info messages?

To suppress log messages in your notebook such as this:

```
INFO SenderThread:11484 [sender.py:finish():979]
```

Set the log level to `logging.ERROR` to only show errors, suppressing output of info-level log output.

```python theme={null}
import logging

logger = logging.getLogger("wandb")
logger.setLevel(logging.ERROR)
```

To significantly reduce log output, set `WANDB_QUIET` environment variable to `True`. To turn off log output completely, set the `WANDB_SILENT` environment variable to `True`. In a notebook, set `WANDB_QUIET` or `WANDB_SILENT` before running `wandb.login`:

<Tabs>
  <Tab title="Notebook">
    ```python theme={null}
    %env WANDB_SILENT=True
    ```
  </Tab>

  <Tab title="Python">
    ```python theme={null}
    import os

    os.environ["WANDB_SILENT"] = "True"
    ```
  </Tab>
</Tabs>

***

<Badge stroke shape="pill" color="orange" size="md">[Notebooks](/support/models/tags/notebooks)</Badge><Badge stroke shape="pill" color="orange" size="md">[Environment Variables](/support/models/tags/environment-variables)</Badge>
