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

# How can I change the directory my sweep logs to locally?

Set the logging directory for W\&B run data by configuring the environment variable `WANDB_DIR`. For example:

```python theme={null}
os.environ["WANDB_DIR"] = os.path.abspath("your/directory")
```

***

<Badge stroke shape="pill" color="orange" size="md">[Sweeps](/support/models/tags/sweeps)</Badge>
