From 6e425a0db2cb0624ebc53d124ba6f861c395fdb5 Mon Sep 17 00:00:00 2001 From: thiswillbeyourgithub <26625900+thiswillbeyourgithub@users.noreply.github.com> Date: Wed, 5 Mar 2025 12:35:43 +0100 Subject: [PATCH] mention docker compose syntax for logging level Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithub@users.noreply.github.com> --- docs/getting-started/advanced-topics/logging.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/getting-started/advanced-topics/logging.md b/docs/getting-started/advanced-topics/logging.md index 796d16e..ac6550c 100644 --- a/docs/getting-started/advanced-topics/logging.md +++ b/docs/getting-started/advanced-topics/logging.md @@ -45,6 +45,12 @@ For example, to set `DEBUG` logging level as a Docker parameter use: --env GLOBAL_LOG_LEVEL="DEBUG" ``` +or for Docker Compose put this in the environment section of the docker-compose.yml file (notice the absence of quotation signs): +``` +environment: + - GLOBAL_LOG_LEVEL=DEBUG +``` + ### App/Backend ### Some level of granularity is possible using any of the following combination of variables. Note that `basicConfig` `force` isn't presently used so these statements may only affect Open-WebUI logging and not 3rd party modules.