From d487996281f71ccd3034dd708fa099057e528b42 Mon Sep 17 00:00:00 2001 From: historia Date: Fri, 28 Aug 2026 03:16:14 -0400 Subject: feat: unified logging with logging_kit.py --- app/backends/common.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'app/backends/common.py') diff --git a/app/backends/common.py b/app/backends/common.py index 4c768b8..d25a03e 100644 --- a/app/backends/common.py +++ b/app/backends/common.py @@ -17,6 +17,8 @@ import urllib.parse from pathlib import Path from typing import Dict, List, Optional, Set, Tuple +import logging_kit + # Messages queued while the TUI is on screen, printed to the real console # after the curses session ends (see ui.hub.run). Build/setup steps that # fail inside the TUI record here so the user gets a copy-pastable command @@ -32,8 +34,9 @@ TTS_ROOT = Path(__file__).resolve().parent.parent.parent # The single "everything else" directory under TTS_ROOT. APP_DIR = TTS_ROOT / "app" -# app/logs — build/server/conversion logs (already gitignored). -LOG_DIR = APP_DIR / "logs" +# app/logs — build/server/conversion logs (already gitignored). Naming and +# retention policy lives in logging_kit (streams vs. timestamped artifacts). +LOG_DIR = logging_kit.LOG_DIR # The project's sample-voice directory: .wav files dropped here are offered # as the default source when a setup/configure wizard asks for a wav -- cgit v1.2.3