ganesh3 commited on
Commit
ee38416
·
verified ·
1 Parent(s): 61c90c9

Update app/transcript_extractor.py

Browse files
Files changed (1) hide show
  1. app/transcript_extractor.py +6 -1
app/transcript_extractor.py CHANGED
@@ -13,7 +13,12 @@ import certifi
13
  import requests
14
 
15
  # Set up logging
16
- logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s')
 
 
 
 
 
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