docs: add log file location and configuration instructions (#6699)

docs: update concepts overview with log file location and configuration instructions
This commit is contained in:
Mendon Kissling 2025-02-18 16:06:28 -05:00 committed by GitHub
commit 1c6e08de64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -91,6 +91,21 @@ To access the **Logs** pane, click your **Flow Name**, and then select **Logs**.
![](/img/logs.png)
Langflow stores logs at the location specified in the `LANGFLOW_CONFIG_DIR` environment variable.
This directory's default location depends on your operating system.
* **Linux/WSL**: `~/.cache/langflow/`
* **macOS**: `/Users/<username>/Library/Caches/langflow/`
* **Windows**: `%LOCALAPPDATA%\langflow\langflow\Cache`
To modify the location of your log file:
1. Add `LANGFLOW_LOG_FILE=path/to/logfile.log` in your `.env.` file.
2. To start Langflow with the values from your `.env` file, start Langflow with `uv run langflow run --env-file .env`.
An example `.env` file is available in the [project repository](https://github.com/langflow-ai/langflow/blob/main/.env.example).
## Projects and folders
The **My Projects** page displays all the flows and components you've created in the Langflow workspace.