feat(P2): stock/music-lab/insta-lab/realestate-lab access_log 적용 + AGENT_CONTAINER_MAP 4개 매핑

This commit is contained in:
2026-05-28 08:38:36 +09:00
parent cfbb3c24b8
commit 378f5210d4
6 changed files with 41 additions and 6 deletions

View File

@@ -9,6 +9,7 @@ from fastapi.middleware.cors import CORSMiddleware
import requests
from apscheduler.schedulers.background import BackgroundScheduler
from pydantic import BaseModel
from _shared.access_log import install as install_access_log
logging.basicConfig(level=logging.INFO, format="%(asctime)s [%(name)s] %(levelname)s %(message)s")
logger = logging.getLogger("stock")
@@ -28,6 +29,7 @@ from .auth import verify_webai_key
from . import webai_cache
app = FastAPI()
install_access_log(app)
# Screener 라우터 등록
from app.screener.router import router as screener_router