From de897cc0f9e5c6d4e46a2bd0df6a5561aac72ccb Mon Sep 17 00:00:00 2001 From: dadaloop82 Date: Mon, 18 May 2026 05:49:08 +0000 Subject: [PATCH] docs: translate logs/README.md to English --- logs/README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/logs/README.md b/logs/README.md index 3a12f43..6228b76 100644 --- a/logs/README.md +++ b/logs/README.md @@ -1,30 +1,30 @@ # logs/ -Questa cartella contiene i log di runtime di EverShelf. +This directory contains EverShelf runtime log files. -I file vengono generati automaticamente da `api/logger.php` e hanno la forma: +Files are generated automatically by `api/logger.php` and follow the naming pattern: ``` evershelf_YYYY-MM-DD_HH.log ``` -La cartella รจ inclusa in git (tramite questo README) ma i file `.log` sono ignorati via `.gitignore`. +The directory is tracked in git (via this README) but `.log` files are ignored via `.gitignore`. -## Configurazione (`.env`) +## Configuration (`.env`) -| Variabile | Default | Descrizione | +| Variable | Default | Description | |---|---|---| -| `LOG_LEVEL` | `INFO` | Livello minimo: `DEBUG`, `INFO`, `WARN`, `ERROR` | -| `LOG_ROTATE_HOURS` | `24` | Ore per file prima di ruotare | -| `LOG_MAX_FILES` | `14` | Numero massimo di file da conservare | +| `LOG_LEVEL` | `INFO` | Minimum log level: `DEBUG`, `INFO`, `WARN`, `ERROR` | +| `LOG_ROTATE_HOURS` | `24` | Hours per file before rotating | +| `LOG_MAX_FILES` | `14` | Maximum number of rotated files to keep | -## Formato +## Format ``` -[2026-05-18 14:23:11] [INFO ] [rid=a1b2c3d4] [action] Messaggio {"ctx":"value"} +[2026-05-18 14:23:11] [INFO ] [rid=a1b2c3d4] [action] Message {"ctx":"value"} ``` -## Inspection remota +## Remote inspection ``` GET /api/?action=get_logs&lines=100&level=WARN