screencastgen

Web Logging

Logging configuration for backend and worker components.

Source: web/backend/logging_config.py


Function

setup_logging(component: str)

Configures Python logging for the specified component ("backend" or "worker").

Sets up:

Called during FastAPI App startup and Celery App worker init.


Dependencies

Web Logging
├── logging (stdlib)
└──▶ consumed by FastAPI App
     └──▶ consumed by Celery App

See Also