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

# Comment modifier le répertoire local dans lequel mon balayage écrit ses journaux ?

Configurez la variable d’environnement `WANDB_DIR` pour définir le répertoire de journalisation des données de run. Par exemple :

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

***

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