diff --git a/brancheneinstufung.py b/brancheneinstufung.py index f3aae023..ccf80d15 100644 --- a/brancheneinstufung.py +++ b/brancheneinstufung.py @@ -13413,6 +13413,7 @@ def main(): """ # WICHTIG: Globale Variable LOG_FILE wird benoetigt (Initialisierung Block 1) global LOG_FILE + logger = logging.getLogger(__name__) # <<< DIESE ZEILE HINZUFÜGEN # --- Initial Logging Setup (Konfiguration von Level und Format) --- # Diese Konfiguration wird wirksam, sobald die Handler hinzugefuegt werden.