Terminal interface to find, download, and stream movies, TV shows, and live TV using local media players.
docs(logging): document panic backtrace capture and log buffer flush
Samir Hossains19eb7adf4a9c
diff --git a/docs/logging.md b/docs/logging.mdindex 28a8823..b2b6ccc 100644--- a/docs/logging.md+++ b/docs/logging.md@@ -19,7 +19,7 @@ The active file is `moviebox-tui_rCURRENT.log`; rotated files are- **Rotation**: rotates at 5MB and keeps 3 files.- **Terminal output**: normal log lines go only to the file without writing to stdout or stderr, preventing screen bleed before entering alternate screen mode. Setup errors (if any) are reported on `stderr`.- **Session header**: version, OS, and the log path are written on startup.-- **Panics**: the panic hook logs the payload to the file, then restores the terminal.+- **Panics**: the panic hook captures stack backtraces, logs the payload and backtrace to the file, flushes log buffers, and then restores the terminal.- `--version` and `--help` never create a log file.## What is logged