Spaces:
Running
Running
Update app/transcript_extractor.py
Browse files
app/transcript_extractor.py
CHANGED
@@ -13,7 +13,12 @@ import certifi
|
|
13 |
import requests
|
14 |
|
15 |
# Set up logging
|
16 |
-
|
|
|
|
|
|
|
|
|
|
|
17 |
logger = logging.getLogger(__name__)
|
18 |
|
19 |
# Try to load from .env file if it exists, but don't fail if it doesn't
|
|
|
13 |
import requests
|
14 |
|
15 |
# Set up logging
|
16 |
+
# Configure logging for stdout only
|
17 |
+
logging.basicConfig(
|
18 |
+
level=logging.DEBUG,
|
19 |
+
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
|
20 |
+
stream=sys.stdout
|
21 |
+
)
|
22 |
logger = logging.getLogger(__name__)
|
23 |
|
24 |
# Try to load from .env file if it exists, but don't fail if it doesn't
|