aboutsummaryrefslogtreecommitdiff
path: root/app/backends/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/backends/common.py')
-rw-r--r--app/backends/common.py7
1 files changed, 5 insertions, 2 deletions
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