Update modules/studentact/current_situation_analysis.py
Browse files
modules/studentact/current_situation_analysis.py
CHANGED
@@ -10,6 +10,17 @@ import numpy as np
|
|
10 |
import matplotlib.patches as patches
|
11 |
import logging
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
logger = logging.getLogger(__name__)
|
14 |
|
15 |
###################################################################
|
|
|
10 |
import matplotlib.patches as patches
|
11 |
import logging
|
12 |
|
13 |
+
# 2. Configuraci贸n b谩sica del logging
|
14 |
+
logging.basicConfig(
|
15 |
+
level=logging.INFO,
|
16 |
+
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
|
17 |
+
handlers=[
|
18 |
+
logging.StreamHandler(),
|
19 |
+
logging.FileHandler('app.log')
|
20 |
+
]
|
21 |
+
)
|
22 |
+
|
23 |
+
# 3. Obtener el logger espec铆fico para este m贸dulo
|
24 |
logger = logging.getLogger(__name__)
|
25 |
|
26 |
###################################################################
|