feat(indexer,backoffice): logs par domaine, réduction fd, UI mobile
- Ajout de targets de log par domaine (scan, extraction, thumbnail, watcher) contrôlables via RUST_LOG pour activer/désactiver les logs granulaires - Ajout de logs détaillés dans extracting_pages (per-book timing en debug, progression toutes les 25 books en info) - Réduction de la consommation de fd: walkdir max_open(20/10), comptage séquentiel au lieu de par_iter parallèle, suppression de rayon - Détection ENFILE dans le scanner: abort après 10 erreurs IO consécutives - Backoffice: settings dans le burger mobile, masquer "backoffice" et icône settings en mobile Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
18
.env.example
18
.env.example
@@ -34,6 +34,24 @@ MEILI_URL=http://meilisearch:7700
|
||||
# PostgreSQL Database
|
||||
DATABASE_URL=postgres://stripstream:stripstream@postgres:5432/stripstream
|
||||
|
||||
# =============================================================================
|
||||
# Logging
|
||||
# =============================================================================
|
||||
# Log levels per domain. Default: indexer=info,scan=info,extraction=info,thumbnail=warn,watcher=info
|
||||
# Domains:
|
||||
# scan — filesystem scan (discovery phase)
|
||||
# extraction — page extraction from archives (extracting_pages phase)
|
||||
# thumbnail — thumbnail generation (resize/encode)
|
||||
# watcher — file watcher polling
|
||||
# indexer — general indexer logs
|
||||
# Levels: error, warn, info, debug, trace
|
||||
# Examples:
|
||||
# RUST_LOG=indexer=info # default, quiet thumbnails
|
||||
# RUST_LOG=indexer=info,thumbnail=debug # enable thumbnail timing logs
|
||||
# RUST_LOG=indexer=info,extraction=debug # per-book extraction details
|
||||
# RUST_LOG=indexer=debug,scan=debug,extraction=debug,thumbnail=debug,watcher=debug # tout voir
|
||||
# RUST_LOG=indexer=info,scan=info,extraction=info,thumbnail=warn,watcher=info
|
||||
|
||||
# =============================================================================
|
||||
# Storage Configuration
|
||||
# =============================================================================
|
||||
|
||||
Reference in New Issue
Block a user