📚 Improved backend code structure & logging consistency 🖥️🔍

This commit is contained in:
Till Tomczak
2025-06-20 12:17:19 +02:00
parent b29b38c8a4
commit 286a70b01f
9 changed files with 306 additions and 2 deletions

View File

@ -64916,3 +64916,47 @@ WHERE users.role = ?]
2025-06-20 12:07:25 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Steckdosen (alle auf 'aus' = frei)...
2025-06-20 12:07:43 - [app] app - [WARNING] WARNING - [STARTUP] ⚠️ Keine der 6 Steckdosen konnte initialisiert werden
2025-06-20 12:07:43 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://:
2025-06-20 12:14:44 - [app] app - [INFO] INFO - Locating template 'dashboard.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\dashboard.html')
2025-06-20 12:14:44 - [app] app - [INFO] INFO - Locating template 'base.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\base.html')
2025-06-20 12:14:44 - [app] app - [INFO] INFO - Locating template 'macros/ui_components.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\macros\\ui_components.html')
2025-06-20 12:14:44 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:15:14 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:15:14 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:15:14 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:15:14 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:15:44 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:15:44 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:15:44 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:15:44 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:16:15 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:16:15 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:16:15 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:16:15 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:16:45 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:16:45 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:16:45 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:16:45 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:16:57 - [app] app - [INFO] INFO - [SHUTDOWN] 🧹 Cleanup wird ausgeführt...
2025-06-20 12:16:57 - [app] app - [INFO] INFO - [SHUTDOWN] ✅ Queue Manager gestoppt
2025-06-20 12:16:57 - [app] app - [ERROR] ERROR - [SHUTDOWN] ❌ Cleanup-Fehler: