refactor: half way to process per session
All checks were successful
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m52s
Build Worker Base and Application Images / deploy-stack (push) Successful in 9s
All checks were successful
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m52s
Build Worker Base and Application Images / deploy-stack (push) Successful in 9s
This commit is contained in:
parent
2e5316ca01
commit
34d1982e9e
12 changed files with 2771 additions and 92 deletions
14
app.py
14
app.py
|
@ -22,15 +22,11 @@ if __name__ != "__main__": # When imported by uvicorn
|
|||
from core.communication.websocket import websocket_endpoint
|
||||
from core.communication.state import worker_state
|
||||
|
||||
# Configure logging
|
||||
logging.basicConfig(
|
||||
level=logging.DEBUG,
|
||||
format="%(asctime)s [%(levelname)s] %(name)s: %(message)s",
|
||||
handlers=[
|
||||
logging.FileHandler("detector_worker.log"),
|
||||
logging.StreamHandler()
|
||||
]
|
||||
)
|
||||
# Import and setup main process logging
|
||||
from core.logging.session_logger import setup_main_process_logging
|
||||
|
||||
# Configure main process logging
|
||||
setup_main_process_logging("logs")
|
||||
|
||||
logger = logging.getLogger("detector_worker")
|
||||
logger.setLevel(logging.DEBUG)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue