feat(ops): add log timestamps and finalize playwright binary installation
- Update logging format to include timestamps for latency tracking - Ensure playwright install chromium is present in Dockerfile
This commit is contained in:
parent
5fd1f6f887
commit
1d580da213
2 changed files with 8 additions and 2 deletions
|
|
@ -5,7 +5,10 @@ from playwright.async_api import async_playwright, BrowserContext, Page, Browser
|
||||||
from src.core.session import SessionState
|
from src.core.session import SessionState
|
||||||
|
|
||||||
# Configure logging
|
# Configure logging
|
||||||
logging.basicConfig(level=logging.INFO)
|
logging.basicConfig(
|
||||||
|
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
|
||||||
|
level=logging.INFO
|
||||||
|
)
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
class CamoufoxManager:
|
class CamoufoxManager:
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,10 @@ from src.core.scheduler import EntropyScheduler
|
||||||
from src.browser.ghost_cursor import GhostCursorEngine
|
from src.browser.ghost_cursor import GhostCursorEngine
|
||||||
|
|
||||||
# Configure logging
|
# Configure logging
|
||||||
logging.basicConfig(level=logging.INFO)
|
logging.basicConfig(
|
||||||
|
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
|
||||||
|
level=logging.INFO
|
||||||
|
)
|
||||||
logger = logging.getLogger("TaskWorker")
|
logger = logging.getLogger("TaskWorker")
|
||||||
|
|
||||||
class TaskWorker:
|
class TaskWorker:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue