mirror of
https://github.com/run-llama/template-workflow-extract-basic.git
synced 2026-07-20 22:05:53 -04:00
Configure INFO level logging to stdout in extract-basic test conftest (#177)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -6,7 +6,16 @@ as extraction_review.clients reads this at module load time to initialize
|
||||
the mock server.
|
||||
"""
|
||||
|
||||
import logging
|
||||
import os
|
||||
import sys
|
||||
|
||||
# Configure logging to stdout at INFO level
|
||||
logging.basicConfig(
|
||||
level=logging.INFO,
|
||||
format="%(asctime)s - %(name)s - %(levelname)s - %(message)s",
|
||||
handlers=[logging.StreamHandler(sys.stdout)],
|
||||
)
|
||||
|
||||
# Enable the fake LlamaCloud server for all tests
|
||||
os.environ["FAKE_LLAMA_CLOUD"] = "true"
|
||||
|
||||
Reference in New Issue
Block a user