Merge pull request #1 from ntrwansuiBC/main

Logger improvements with loguru
This commit is contained in:
Kohaku-Blueleaf
2025-10-25 22:41:25 +08:00
committed by GitHub
7 changed files with 481 additions and 151 deletions

View File

@@ -360,6 +360,9 @@ def generate_hub_api_service(config: dict) -> str:
- KOHAKU_HUB_LFS_KEEP_VERSIONS=5
- KOHAKU_HUB_LFS_AUTO_GC=true
- KOHAKU_HUB_AUTO_MIGRATE=true # Auto-confirm database migrations (required for Docker)
- KOHAKU_HUB_LOG_LEVEL=INFO
- KOHAKU_HUB_LOG_FORMAT=terminal
- KOHAKU_HUB_LOG_DIR=logs/
## ===== Auth & SMTP Configuration =====
- KOHAKU_HUB_REQUIRE_EMAIL_VERIFICATION=false