Endelig
This commit is contained in:
@@ -32,7 +32,7 @@ def _byg_argument_parser() -> argparse.ArgumentParser:
|
||||
|
||||
def _kør_udtræk(config: dict, global_config: dict) -> None:
|
||||
"""Kører den normale udtræks- og transformationspipeline."""
|
||||
|
||||
print(f"DEBUG: Antal output_filer = {len(config.get('output_filer', []))}")
|
||||
input_fil = global_config.get("input_fil")
|
||||
input_fil_liste = global_config.get("input_fil_liste")
|
||||
|
||||
@@ -120,9 +120,14 @@ def main():
|
||||
opsaet_logging(
|
||||
log_fil=global_config["logfil"],
|
||||
niveau=global_config.get("log_niveau", "info"),
|
||||
log_output=global_config.get("log_output", "begge"),
|
||||
)
|
||||
|
||||
# Eksekver DDL-flowet
|
||||
print(f"MAIN DEBUG: output_filer count = {len(config.get('output_filer', []))}", flush=True)
|
||||
for i, cfg in enumerate(config.get("output_filer", [])):
|
||||
print(f"MAIN DEBUG [{i}]: rod={cfg.get('rod')}, fil={cfg.get('fil_navn')}, type={cfg.get('type')}", flush=True)
|
||||
|
||||
if ddl.is_enabled(args):
|
||||
ddl.run_ddl_mode(args, config, global_config)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user