chrisjcc commited on
Commit
efef9f5
·
1 Parent(s): 38df4da

Update Strands logging

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -81,9 +81,13 @@ from utils import (
81
  # LOGGING CONFIGURATION
82
  # =============================================================================
83
 
 
 
 
 
84
  logging.basicConfig(
85
  level=logging.INFO,
86
- format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
87
  handlers=[
88
  logging.FileHandler('fraud_assistant_confluence.log'),
89
  logging.StreamHandler()
 
81
  # LOGGING CONFIGURATION
82
  # =============================================================================
83
 
84
+ # Configure the root strands logger
85
+ logging.getLogger("strands").setLevel(logging.DEBUG)
86
+
87
+ # Add a handler to see the logs
88
  logging.basicConfig(
89
  level=logging.INFO,
90
+ format="%(asctime)s | %(levelname)s | %(name)s | %(message)s",
91
  handlers=[
92
  logging.FileHandler('fraud_assistant_confluence.log'),
93
  logging.StreamHandler()