From 1c6e08de64d3c796d5a525c351381b6e289f912e Mon Sep 17 00:00:00 2001 From: Mendon Kissling <59585235+mendonk@users.noreply.github.com> Date: Tue, 18 Feb 2025 16:06:28 -0500 Subject: [PATCH] docs: add log file location and configuration instructions (#6699) docs: update concepts overview with log file location and configuration instructions --- docs/docs/Concepts/concepts-overview.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/docs/Concepts/concepts-overview.md b/docs/docs/Concepts/concepts-overview.md index 1dcaec646..0f9d9acda 100644 --- a/docs/docs/Concepts/concepts-overview.md +++ b/docs/docs/Concepts/concepts-overview.md @@ -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//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.