From 36821bde7acc91bb53108b9ebe9219808256e831 Mon Sep 17 00:00:00 2001 From: dadaloop82 Date: Mon, 18 May 2026 05:50:23 +0000 Subject: [PATCH] docs: add logging configuration to README (.env section) --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 0c2b2ad..f048c1f 100644 --- a/README.md +++ b/README.md @@ -198,6 +198,13 @@ SETTINGS_TOKEN= # Optional: Demo mode — block all write operations at the router level DEMO_MODE=false + +# Optional: Logging +# LOG_LEVEL sets the minimum severity written to disk (DEBUG / INFO / WARN / ERROR) +# DEBUG also logs every SQL query executed against the database +LOG_LEVEL=INFO +LOG_ROTATE_HOURS=24 # hours before opening a new log file (default: 24) +LOG_MAX_FILES=14 # maximum number of rotated files to keep (default: 14) ``` ### Web Server Configuration