v0.0.5 | Fix logging to stdout for pod logs
All checks were successful
Build And Test / build-and-push (push) Successful in 1m51s

- Add sys.stdout stream to logging handler
- Import sys module

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-14 11:32:33 +09:00
parent 02409a24c5
commit 26f50b7f80
2 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,7 @@ from pathlib import Path
from datetime import timedelta from datetime import timedelta
from dotenv import load_dotenv from dotenv import load_dotenv
import os import os
import sys
# Build paths inside the project like this: BASE_DIR / 'subdir'. # Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent BASE_DIR = Path(__file__).resolve().parent.parent
@ -213,6 +214,7 @@ LOGGING = {
"console": { "console": {
"class": "logging.StreamHandler", "class": "logging.StreamHandler",
"formatter": "verbose", "formatter": "verbose",
"stream": sys.stdout,
}, },
}, },
"root": { "root": {

View File

@ -1 +1 @@
v0.0.4 v0.0.5